A 24-year-old man who fired at a school minibus with a toy handgun and was later arrested by armed police has been granted bail by a judge.

Gary Marshman, of Westcombe Court, Wyke, was today allowed to return to his home after Judge Robert Bartfield was told that a psychiatrist had concluded he did not suffer from any form of mental illness.

Although Marshman has been diagnosed as having a personality disorder, the psychiatrist's opinion means he will not now be made the subject of a hospital order following his conviction last month for possessing an imitation firearm with intent to cause fear of violence.

The jury at his trial heard how Marshman was seen aiming what turned out to be a toy handgun at motorists as he walked from his flat to his mother's home in Buttershaw Drive last July.

At one stage he even fired a plastic pellet at the driver's window of a passing school minibus.

Police officers had to warn members of the public about the presence of a suspected gunman on the streets and Marshman was detained after he was challenged by a armed officers.

After his conviction Marshman was remanded in custody so he could be assessed under the Mental Health Act, but today his barrister Gerald Hendron revealed the conclusion of the inquiry.

It is hoped that arrangements can be made for the judge who heard Marshman's trial to sentence him, but after hearing that he had previously been on bail during the case Judge Bartfield decided to release him from custody pending another hearing in a week's time.

But the judge warned Marshman that if he breached his bail, which includes a condition to live at his home address, he faced four months in custody just for that offence.

Judge Bartfield also emphasised that he was not indicating that Marshman wouldn't be locked up when he came back to court for his sentence.