A teenager who took part in the robbery of two students' bicycles and mobile phones as they returned home from college has been ordered to carry out community service.
Mario White (19) was "led" by two other robbers when the victims had their property taken at knifepoint, Dublin District Court heard.
White was himself unarmed.
Judge Michael Walsh told him to complete 160 hours community service to avoid six months in jail. The judge said the victims had been robbed in a "vicious manner" and it had been "a very harrowing, traumatic experience".
However, he noted that White had the lesser role of the three culprits.
White, of Poddle Close, Crumlin, pleaded guilty to robbing two UCD students, aged 18 and 19, at Dartry Park, Dublin 6 on November 25, 2013.
The court heard the three men stopped the victims who were on their bikes and made demands of them. One of the co-accused had a knife, the court heard.
The bicycles were taken along with one Nokia and two Samsung phones. The value of the property was €1,200 in total and the victims were in fear for their safety during the incident, a garda said. The court heard the students lived in the locality.
"The idea came over the other two people and he got involved in it," defence solicitor Edward Bradbury said, adding that while the accused was "caught up" in what happened and was reckless, he "certainly wasn't the main protagonist."
The co-accused had already been before the courts. White had no previous convictions and cooperated with the gardai.