A man was jailed for 42-months after forcing a young girl to perform oral sex on another male for money paid to him.
Paul Cochrane, 51, also got the child, who was aged nine or 10, to carry out oral sex acts on him when he was a teenager.
A judge told Cochrane that given the nature of the offences there was no alternative but to impose a significant prison sentence on him.
Judge Simon Collins KC said: "All the offences took place when you were a child or a young adult."
Read more: Toddler ate rat poisoning at nursery and had to be rushed to hospital
The judge said at the High Court in Edinburgh that he took into account that the crimes took place more than 30 years ago and added: "Your risk of reoffending is low."
Cochrane, formerly of Ellon Drive, Linwood, in Renfrewshire, was earlier convicted of three charges of indecent behaviour following a trial at which he had denied the offences.
The first two offences occurred between October 1984 and October 1986 at a house in Paisley and involved the abuse of the girl.
On two occasions he forced the girl to give him oral sex and on a single occasion he forced her to perform an oral act on another male in exchange for money.
Cochrane was aged 13 to 15 at the time of the sex offending against the girl.
The third offence occurred between August 1988 and October 1989 at an address in Paisley when Cochrane exposed himself to a five-year-old boy.
Defence solicitor advocate Robert Mitchell said that the offences involving the girl were "very serious charges".
But he said Cochrane was now "a very different person" from the one who had committed the historical abuse.
He said Cochrane was "quite well known" in Paisley and had worked in the hospitality sector. He had worked to support his family.
Mr Mitchell said Cochrane had no record for similar offending and a lack of convictions over the last two decades.
"These matters on this indictment are extremely unusual in this man's history," he told the court.
He asked the judge to take into account that the abuse against the girl was committed when Cochrane was of "a very young age".
Cochrane, who followed the sentencing proceedings via a televised link to Low Moss jail, outside Glasgow, was told that he would be put on the sex offenders' register for an indefinite period.
READ NEXT -
Glasgow footballer Gavin Stokes who died in tragic crash remembered by former clubs
UEFA plunge Scotland fans into travel chaos as they publish wrong fixture list
Glasgow family aims to raise awareness of mental health after sudden death of dad
Glasgow strikers deserve 'decent life' in face of cost of living crisis, says union boss
Blood-soaked Glasgow man with horrific wounds looked like he'd been 'hacked with machete'