Mr Meredith said Bago also assaulted one woman on the train, and followed others outside the station as they walked to their cars, or walked home from work.
On one occasion, the court was told, he dragged a woman off the street and tried to push her into a ditch.
He then used a large stick to try to attack a driver who stopped to assist her.
The court was told Bago had been addicted to alcohol and cannabis at the time, and had also been diagnosed with post-traumatic stress disorder from when he was living in war-torn Sudan. The court heard since these offences he has been living in Toowoomba, where he has been receiving assistance to rehabilitate.
Crown prosecutor Sarah Maleckas told the court the girl and her family were scared and distressed by Allwood's "grooming" behaviour.
Allwood pleaded guilty to unlawful stalking in March and the case was adjourned until Friday for his defence to obtain a psychiatric report.
Gordon Anthony Allwood, 42, met a 15-year-old girl and her father in Gatton last January when they arrived to offer assistance to flood victims.
Allwood spent four months stalking the teenager via indecent text messages, following her to work and watching her when she was out.
The purpose of this website/ information is to promote public awareness/ protection,help prevent you and those close to you from the potential dangers posed by individuals who have committed sex offences in the past and to deter sex offenders from offending/ re-offending.
Any criminal actions taken by persons against the offenders named within this site, may result in arrest and prosecution of those persons.
The report declared Allwood refused to accept what he did was wrong.
Judge Deborah Richards said Allwood still denied responsibility for his actions and did not understand the significance of his behaviour.
Andrews will now serve a total of eight-and-a-half years while Henderson will serve nine-and-a-half years and Voigt 10-and-a-half years.