PRETORIA, South Africa — Oscar Pistorius told a packed courtroom Tuesday that he shot his girlfriend to death by mistake, thinking she was a robber. The prosecutor called it premeditated murder. The double amputee said in an affidavit read by his lawyer at his bail hearing that he felt vulnerable because he did not have on his prosthetic legs when he pumped bullets into the locked bathroom door. Then, Pistorius said in the sworn statement, he realized that model Reeva Steenkamp was not in his bed. “It filled me with horror and fear ,” he said. He put on his prosthetic legs, tried to kick down the door, then bashed it in with a cricket bat to find Steenkamp, 29, shot inside. He said he ran downstairs with her, but “She died in my arms.” Prosecutor Gerrie Nel on Tuesday charged the 26-year-old athlete and Olympian with premeditated murder, alleging he took the time to put on his legs and walk some seven meters (yards) from the bed to the bathroom door before opening fire. A conviction of premeditated murder carries a mandatory sentence of life in jail. The Valentine's Day shooting death has shocked South Africans and many around the world who idolized Pistorius for overcoming adversity to become a sports champion, competing in the London Olympics last year in track besides being a Paralympian. Steenkamp was a model and law graduate who made her debut on a South African reality TV program that was broadcast on Saturday, two days after her death. The magistrate ruled that Pistorius faces the harshest bail requirements available in South African law. Nel told the court that Pistorius fired into the door of a small bathroom where Steenkamp was cowering after a shouting match. He fired four times and three bullets hit Steenkamp, the prosecutor said. “She couldn't go anywhere. You can run nowhere,” prosecutor Nel argued. “It must have been horrific.” Pistorius sobbed softly as his lawyer, Barry Roux, insisted the shooting was an accident and that there was no evidence to substantiate a murder charge. “Was it to kill her, or was it to get her out?” he asked about the broken-down door. “We submit it is not even murder. There is no concession this is a murder.” He said the state had provided no evidence that the couple quarreled nor offered a motive. Nel rebutted: “The motive is ‘I want to kill.'” As details emerged at the dramatic court hearing in the capital, Steenkamp's body was being cremated Tuesday at a memorial service in the south-coast port city of Port Elizabeth. The family said members had arrived from around the world. Six pallbearers carried her coffin, draped with a white cloth and covered in white flowers, into the church for the private service. — AP