Oscar Pistorius, the South African track star charged with murdering his girlfriend, was granted bail Friday.
A magistrate said the chief investigator in the case had made “several errors and concessions” during his testimony.
“I come to the conclusion that the accused has made a case to be released on bail,” said Chief Magistrate Desmond Nair.
Bail was set at $1 million rand (around $114,000). He is not allowed to return to his home.
The bail decision comes after a hearing that lasted four days.
Pistorius is accused of the shooting death of Reeva Steenkamp, on February 14.
Pistorius says he thought Steenkamp was an intruder in his bathroom, when he fired several shots through a closed door.
The chief investigator on the case, Hilton Botha, has admitted that police could have contaminated the crime scene and failed to properly catalog evidence.
Botha was removed from the case, when it was realized that he was facing attempted murder charges.
Botha is accused of opening fire on a minibus full of people while allegedly drunk in 2011.
Pistorius is a double-amputee track star.
He became the first disabled athlete to compete in the able-bodied Olympics, last year in London.
He runs on special carbon fiber blades, earning the nickname “Blade Runner.”
Sponsors Nike and Oakley suspended their contracts with him after he was charged with murder.