(CNN) -- Michael Jackson couldn't sleep.



A coroner preliminarily has concluded Michael Jackson died of an overdose of propofol, court documents say.



Maybe it was anxiety over his upcoming comeback concert series in London, England. Perhaps his body was trying to process too many different medications.



The reason may never be known, but a sworn affidavit makes clear that the King of Pop couldn't get rest the night before he died on June 25.



The affidavit, from Detective Orlando Martinez of the Los Angeles Police Department, outlines probable cause for search warrants on the offices of doctors who are thought to have treated Jackson.



Yet it also opens a window into Jackson's final hours, revealing information about the singer's treatment and the drugs given him by Dr. Conrad Murray, his personal physician, before his death.  Watch a panel discuss Jackson's death »



Based on interviews, visits to Jackson's home as well as records and documents gathered during the investigation, the affidavit provides the following account of Jackson's last days:



In May, Jackson hired Murray, a cardiologist. The singer was spending long days rehearsing for concerts that he saw as crucial to reviving his career.



For six weeks, Murray told police that he treated Jackson for insomnia. He said he had been giving the singer an intravenous drip with 50 milligrams of propofol, diluted with lidocaine, every night to help him sleep.



Jackson was already familiar with propofol, a powerful anesthetic, Murray said. The singer even called it his "milk" because of its milky appearance, he said.



With the concerts approaching, Jackson started to need these drugs every night, Murray said -- and the doctor said he worried that Jackson was becoming addicted to propofol. He wanted to wean Jackson off the drug.



Three days before Jackson's death -- on June 22 -- Murray gave the singer a combination of drugs that he hoped gradually would move the singer off propofol.



That mixture involved propofol, the anti-anxiety drug lorazepam (known by its brand name, Ativan) and midazolam (known as Versed). It succeeded in helping Jackson to sleep for that night and the next, Murray said.



But by the night of June 24, Jackson again apparently was unable to sleep.  Learn more about the events of Jackson's final hours »



At 1:30 a.m. on June 25, Murray decided to forgo the propofol in favor of 10 milligrams of Valium. Half an hour later, with Jackson still awake in bed, Murray injected the singer with two milligrams of lorazepam.



It still wasn't working.



At 3 a.m., Murray gave the singer two milligrams of midazolam, pushed slowly into his IV. And two hours later, with Jackson still awake, Murray administered another two milligrams of lorazepam through Jackson's IV.



The drugs did nothing to help Jackson sleep.



At 7:30 a.m., Murray gave the singer another two milligrams of midazolam in his IV.



By that point, Murray wasn't even leaving Jackson's room anymore, let alone his bedside. The doctor told police he sat next to the singer in his bedroom, monitoring Jackson's pulse and oxygen levels.



More than three hours later, despite a night of medication and doctor's care, Jackson remained awake.



Jackson was repeatedly asking -- even demanding -- that Murray give him more propofol to help him sleep, the doctor told police. So Murray finally administered 25 milligrams of propofol diluted with lidocaine via Jackson's IV drip.



The singer now had his "milk," and it worked. After a restless night, Jackson was finally able to close his eyes and go to sleep.



Murray told police he watched Jackson sleep for about 10 minutes before going to the bathroom. It had been a long night for both of them.



The trip to the bathroom took less than two minutes, Murray told police. But when he came back, he said, he saw Jackson wasn't breathing.



He started cardiopulmonary resuscitation, but it didn't work.



Jackson was rushed to the hospital and pronounced dead later that afternoon
Who said he worried Jackson was becoming addicted to propofol? What happened the day Michael Jackson died? Who gave Michael Jackson several drugs on the night before his death? What opens a window into Michael Jackson's final hours? Who is the doctor? What was Jackson' addicted to? What drugs did Michael Jackson receive that night?
Dr. Conrad Murray, was unable to sleep. Dr. Conrad Murray, a sworn affidavit Dr. Conrad Murray, propofol. propofol,
question: Who said he worried Jackson was becoming addicted to propofol?, answer: Dr. Conrad Murray, | question: What happened the day Michael Jackson died?, answer: was unable to sleep. | question: Who gave Michael Jackson several drugs on the night before his death?, answer: Dr. Conrad Murray, | question: What opens a window into Michael Jackson's final hours?, answer: a sworn affidavit | question: Who is the doctor?, answer: Dr. Conrad Murray, | question: What was Jackson' addicted to?, answer: propofol. | question: What drugs did Michael Jackson receive that night?, answer: propofol,