For an accused convicted of serious offences to succeed on appeal against refusal of bail pending appeal, they must demonstrate that the trial court was biased, failed to act for substantial reasons, or exercised its discretion capriciously or on a wrong principle. The grant of leave to appeal does not automatically entitle an accused to release; the accused must show real prospects of success on conviction and that a non-custodial sentence might be imposed. The applicability of the Child Justice Act is determined with reference to the age of the accused at the time of arrest, not at the time of commission of the offence, in accordance with section 4 of the CJA.