The content of a search warrant has revealed that a Minnesota doctor saw Prince twice in the month before his death and also prescribed him medication. It has also revealed that the doctor saw him the day before his death.

According to the search warrant, Dr Todd Schulenberg treated Prince on April 7 and April 20, and he prescribed medications and prescriptions for the musician. The warrant was filed in Hennepin County on Thursday. It was obtained by at least two news outlets before authorities confirmed the report, as reported by The State.

However, the warrant did not specify the medicine the doctor prescribed and whether the musician had taken them. Investigators interviewed the Minnesota doctor and searched his workplace, North Memorial Medical Center. Dr Todd Schulenberg works as a primary physician in the hospital.

The warrant also revealed that the same day authorities  returned to Prince’s Paisley Park home and studio in Minneapolis. When asked about the reason behind the visit officials did not specify what they were exactly looking for. But, the Carver County Sheriff’s Chief Deputy Jason Kamerud told the AP that investigators were “being thorough. Kamerud also said that he could not reveal much about the search warrant as it was supposed to be sealed.

Meanwhile, Schulenberg’s LinkedIn profile page has been removed from public view. Lesa Bader, North Memorial Medical Care system spokeswoman, said that the doctor no longer works for them. At the same time, she said she could not reveal much about Schulenberg’s resignation, as employment information protection policy of the health care provider did not allow her to do so, stated Los Angeles Times.

The doctor was also not available for comment and no disciplinary action was taken against him. He was trained at Oregon Health and Science University and has been certified in family medicine. It was also disclosed that Schulenberg is not in the list of US Food and Drug Administration of practitioners, who were the only ones allowed to prescribe buprenorphine. Notably, buprenorphine is an opioid medication which is used to treat opioid addiction.

A source revealed to Star Tribune that the Minnesota doctor had been treating Prince for withdrawal symptoms from opioid addiction, a few weeks before his death.  The source also confirmed that the doctor did not refer opioids to the star musician.

The warrant was left unsealed till Tuesday by mistake. Later, Carver county officials came to know about the mistake and sent a copying of order sealing it to the Hennepin County court administrator.