(CNN) -- A magistrate granted bail Friday to Oscar Pistorius, citing a number of problems with the police investigation into the death of the Olympic sprinter's girlfriend.
"I come to the conclusion that the accused has made a case to be released on bail," said Chief Magistrate Desmond Nair, eliciting a celebratory cry of "Yes!" from the courtroom.
Pistorius remained quiet and reserved after the announcement and did not appear to celebrate. His family hugged quietly.
Nair said the former chief investigator in the case, Hilton Botha, had made "several errors and concessions" during his testimony during the bail hearing, and said prosecutors had failed to prove that Pistorius was a flight risk or had a propensity toward violence.
Botha has since been removed from the case after prosecutors reinstated attempted murder charges against him in a 2011 incident unrelated to Pistorius.
While recounting a litany of "improbabilities" in Pistorius' account of mistaking Steenkamp for an intruder, Nair said defense attorneys had met the threshold for proving the "exceptional circumstances" required by South African law for the release of a suspect charged with premeditated murder.
Pistorius will be released after posting bail of 1 million rand (about $114,000) by March 1, and 10% of it is due Friday. He may not return to the home where the shooting happened, Nair ruled.
He must give up his passport, can't go near an airport and must report to a police station every Monday and Friday, Nair said.
Pistorius is accused of premeditated murder in the February 14 shooting death of Reeva Steenkamp, 29. Authorities and Pistorius' team agree that he killed Steenkamp, but Pistorius says he mistook her for an intruder.
Prosecutor Gerrie Nel told the judge in final arguments Friday before a packed Pretoria courtroom that Pistorius didn't deserve bail.
"He must realize that long-term imprisonment is almost guaranteed. He might think he'll be acquitted."
The prosecution had several notable missteps during the bail hearing, including the removal of the lead investigator, who had earlier acknowledged under questioning from defense attorney Barry Roux that police could have contaminated the crime scene and had failed to properly catalog evidence.
The South African Police Service pulled Botha, from the case Thursday after prosecutors reinstated seven counts of attempted murder charges against him. Botha is accused of opening fire on a minibus full of people while allegedly drunk in 2011.
Prosecutors allege that Pistorius, 26, killed his girlfriend after a heated argument in the early morning hours of Valentine's Day.
The sprinter, however, says he thought an intruder was hiding in a toilet room inside the bathroom of his Pretoria home. He says he fired into the room in a fit of terror before realizing Steenkamp was inside.
Nair questioned Nel over the prosecution's assertion that Pistorius was a flight risk.
What kind of life would he lead if he were to flee? the judge asked.
A life of freedom, the prosecutor said.
Ducking and diving every day with those prostheses? Nair asked.
A life not in prison, Nel said.
The prosecutor implored the judge to deny Pistorius' bail request, saying courts cannot favor the famous or the disabled.
"We all know that a lot of important people were granted bail and they stayed in the country," Nel told the magistrate. "But lots of very important people have escaped."
Nel pointed to the case of WikiLeaks founder Julian Assange, who fled to the Ecuadorian Embassy in London to avoid extradition to Sweden, where he is wanted for questioning over sex assault allegations.
Assange's face was well-known, the prosecutor said, but "it didn't stop him fleeing arrest."
Roux said the track star needs regular medical treatment for his stumps and his prostheses require routine maintenance.
"Mr. Pistorius cannot go unnoticed through an airport due to his legs," he told the judge.
Pistorius, eyes red, appeared emotional and drained.
At one point, he sat with his eyes closed and shoulders shaking as tears rolled down his face. At other times, he stared straight ahead.
In arguments wrapping up during Thursday's session, the prosecutor said Pistorius' defense team has failed to explain why investigators found two cell phones and the gun believed to have been used in the shooting in front of the shower.
That goes to the prosecution claim that Steenkamp didn't merely get up to relieve herself in the middle of the night, but in fact had locked herself in the bathroom with her cell phone to protect herself from Pistorius.
Earlier in the hearing, Nel argued that evidence showed Pistorius intentionally targeted Steenkamp. Ballistic evidence showed he had to aim at the toilet to hit her, Nel said, and how the bullets traveled through the door suggested he was standing on his prosthetic legs, not his stumps as he claimed.
Pistorius said in his statement that when he shot through the door, he was feeling vulnerable to an intruder because he was not wearing his legs and had limited mobility.
During the bail hearing, being held in a dark, stuffy Pretoria courtroom, Roux hammered away at the credibility of Botha and the entire police investigation. He argued Thursday that the state's case had suffered a "monumental collapse."
He said police had missed a bullet where Steenkamp was shot and may have contaminated the crime scene by failing to wear protective foot covers.
Botha said investigators didn't wear the booties because they'd run out.
Under questioning from Roux, Botha said police didn't have evidence to specifically contradict Pistorius' story.
Then, Botha was gone.
Officials in the case learned Thursday of the charges against Botha, and the South African Police Service moved quickly to take him off the investigation.
While police Commissioner Riah Phiyega praised Botha's work on the case, she removed him in favor of the department's most senior detective.
Accusations against the investigator would be little more than a "speed bump" in the Pistorius case, Bulelwa Makeke, the spokeswoman for South Africa's National Prosecuting Authority, said before Botha was removed.
Pistorius made history last year as the first disabled athlete to compete in the able-bodied London Games. A few weeks after the Olympics, he smashed a record to win the men's 400-meter in the 2012 Paralympic Games.
When Pistorius was 11 months old, his legs were amputated below the knees because he was missing the fibulae.
He runs on special carbon fiber blades, earning the nickname "Blade Runner."
The case has roiled South Africa, where Pistorius is considered a national hero.
Following his arrest on Valentine's Day, Pistorius put his career on hold and pulled out of future races. Sponsors Nike and Oakley suspended their contracts with the runner.
Thursday, May 23 2013 9:02 PM EDT2013-05-24 01:02:26 GMT
The Armed Services YMCA has big dreams for a state of the art center in Harker Heights. Thursday they were presented an even bigger check to help make that dream one step closer to a reality. LashondaMore >>
The Armed Services YMCA has big dreams for a state of the art center in Harker Heights. Thursday they were presented an even bigger check to help make that dream one step closer to a reality. More >>
Thursday, May 23 2013 6:26 PM EDT2013-05-23 22:26:43 GMT
(KCEN) -- Big news for Boy Scouts and gay activists nationwide. Today, the Boy Scouts of America voted to remove its ban on openly gay scouts. More than 1400 delegates will be voting on this decisionMore >>
Big news for Boy Scouts and gay activists nationwide.More >>
Thursday, May 23 2013 4:48 PM EDT2013-05-23 20:48:45 GMT
(KCEN) -- There is major accident on the northbound I-35 access road. The accident is just south of exit 306, Pendleton Road. Three cars are involved in the accident and heavy traffic is starting toMore >>
There is major accident on the northbound I-35 access road.More >>
Thursday, May 23 2013 1:47 PM EDT2013-05-23 17:47:24 GMT
(KCEN) -- A Fort Hood soldier is accused of helping his friend sexually assault a woman in Austin. Twenty-three-year-old Sergeant Jeremy Bolen is now in the Travis County Jail. He and 28-year-old MichaelMore >>
A Fort Hood soldier is accused of helping his friend sexually assault a woman in Austin.More >>
Thursday, May 23 2013 1:36 PM EDT2013-05-23 17:36:37 GMT
(KCEN) -- Victims of the Fort Hood shooting massacre may have to wait a little longer before their civil trial against the government. A motion was filed on May 17 to delay the trial for 14 months. LawyersMore >>
Victims of the Fort Hood shooting massacre may have to wait a little longer before their civil trial against the government.More >>
Thursday, May 23 2013 10:50 AM EDT2013-05-23 14:50:11 GMT
(KCEN) -- A 7-Eleven cashier in Killeen was stabbed during a robbery. It happened just before 2 A.M. Wednesday at the 7-Eleven in the 14-hundred block of Rancier. The clerk said this man came in theMore >>
A 7-Eleven cashier in Killeen was stabbed during a robbery.More >>
Thursday, May 23 2013 10:49 AM EDT2013-05-23 14:49:14 GMT
(KCEN) -- A man meets a woman at a Waco hotel and then ends up naked and robbed. Waco Police say around 3 A.M. Wednesday morning, a man met a female acquaintance at Motel 6 on the 3100 block of southMore >>
A man meets a woman at a Waco hotel and then ends up naked and robbed.More >>
Wednesday, May 22 2013 6:45 PM EDT2013-05-22 22:45:58 GMT
(KCEN) -- An eight-year-old Killeen boy whose battle with cancer we've been following has passed away. Max Simmons captured our hearts earlier this year. He was diagnosed with brain cancer last mayMore >>
An eight-year-old Killeen boy whose battle with cancer we've been following has passed away.More >>