PRETORIA, South Africa – Olympian Oscar Pistorius has been granted bail while he awaits trial in the shooting death of his girlfriend.

Chief Magistrate Desmond Nair made the ruling Friday after four days of arguments from prosecution and defence in Pistorius’ bail hearing, and after spending about one hour and 45 minutes announcing his decision.

Nair said Pistorius’ affidavit, in which he gave his version of the events of the shooting on morning of Feb. 14 in a sworn statement, had helped his application for bail in Pretoria Magistrate’s Court.

Pistorius’ supporters shouted “Yes” when the magistrate made his ruling. Nair then ordered a court break before establishing the terms of the bail.

Pistorius shot and killed Steenkamp in the predawn hours of Feb. 14. The athlete says he shot his girlfriend accidentally believing she was an intruder in his house. Prosecutors say he intended to kill Steenkamp and charged him with premeditated murder, saying the shooting followed a loud argument between the two.