A search warrant reveals that a Minnesota doctor saw Prince twice in the month before his death -- including the day before he died -- and prescribed him medication.
The warrant says Dr Michael Todd Schulenberg treated Prince on April 7 and April 20.
The warrant was obtained by at least two news outlets before authorities moved to ensure it was sealed.
The warrant did not specify what medications were prescribed or whether Prince took them.
The warrant was carried out last Thursday at North Memorial Medical Centre in the Minneapolis suburb of Robbinsdale.
A spokeswoman for North Memorial Medical Centre said Schulenberg was a primary care physician at its Minnetonka clinic but that he no longer works for the health care system.