Michael Duru, charged with attempt murder and endangering life, sought a new bail hearing after his previous bail was cancelled due to breaches.
The Crown opposed, citing prior breaches including a robbery conviction and a curfew breach.
The court considered the secondary and tertiary grounds for detention under the Criminal Code.
The judge found the robbery to be an unusual circumstance not indicative of a substantial risk of re-offence posing a public danger, and the curfew breach, while serious, did not warrant detention given Duru's lengthy compliance periods.
On tertiary grounds, the court found the Crown's case not to be overwhelming, thus not diminishing confidence in the administration of justice.
Bail was granted with varied conditions, including new sureties (mother and father) and an adjusted curfew to allow for night employment.