The respondent was arrested for robbery and released on bail.
While on bail, he committed a second offence (procuring sexual services) and was denied bail for that charge.
He was subsequently convicted of the robbery offences and sentenced with credit for pre-trial custody accumulated after his detention on the second offence.
The Crown appealed, arguing that pre-trial custody incurred following a later, unrelated charge could not be credited against the sentence for the earlier robbery offences.
The Court of Appeal dismissed the appeal, holding that sections 719(3) and (3.1) of the Criminal Code do not limit credit for pre-trial custody only to the offence that directly triggered detention.
Rather, courts must assess whether a sufficient causal link exists between the pre-trial custody and the offence being sentenced, which may encompass custody arising from later charges if those charges contributed to the denial of bail or the offender's decision not to seek bail.