Prince died of an accidental overdose of the powerful painkiller fentanyl, post-mortem examination results show.
In the month before his death, a Minnesota doctor saw Prince twice - including the day before he died - and prescribed him medication, according to contents of a search warrant.
Here are some key events in the last two weeks of Prince's life:
April 7: Dr Michael Schulenberg, a Minnesota primary care physician, sees Prince, according to the search warrant. Two Prince concerts in Atlanta are postponed. The artist said at the time he had fallen ill with the flu.
April 14: Prince performs makeup concerts in Atlanta, apologising to fans. He jokes about having been "under the weather", giving a slight smile. His voice seems a bit weak at times while speaking, but sounds fine when singing during his 80-minute show.
April 15: Prince falls ill on a flight home from Atlanta and the plane makes an emergency stop in Moline, Illinois. A law enforcement official said that Prince was found unconscious on the plane and that first responders gave him a shot of Narcan, an antidote used to reverse suspected opioid overdoses.
April 16: Prince hosts a dance party at his Paisley Park complex and makes a brief appearance, showing off a new purple piano. "Wait a few days before you waste any prayers," he tells fans.
April 20: Prince is seen by Dr Schulenberg again, according to the warrant. At some point, Dr Schulenberg prescribed medications to Prince and ordered tests, according to the warrant, which does not specify what medications were prescribed or whether Prince took them.
April 20: Dr Howard Kornfeld, a California addiction specialist, is asked by Prince representatives to help the star, according to Kornfeld lawyer William Mauzy. Dr Kornfeld sends his son, a non-physician, on a flight to Minnesota, carrying a drug used to treat opiate addiction.
April 21: Andrew Kornfeld and others find Prince unresponsive in a lift at Paisley Park. Dr Schulenberg arrived "on the death scene" at some point, according to the warrant. He told a detective he was there to drop off test results, and that he had prescribed medications that were to be filled at a Walgreen's pharmacy, it said.