A man who carried out a sex attack on a woman at gunpoint has been sentenced to two years in prison.
William Trainor, 29, from Gretna, was found guilty of assaulting the woman with intent to rape and possessing a handgun, or imitation handgun, at the High Court in Glasgow on 21 January.
Trainor was also found guilty of behaving in a threatening and abusive manner and breaching bail.
The court heard that in the early hours of March 15, 2019, Trainor entered his victim’s home and when she confronted him realised he was holding a gun.
Trainor pointed the gun at her in front of her young child before making suggestive gestures and indicating that she should follow him.
The woman managed to close a door on him – shouting for him to get out – before he ran out the back door.
Trainor was sentenced at the High Court in Edinburgh on February 23.
Fraser Gibson, procurator fiscal, said: “William Trainor’s actions caused significant fear and alarm and it is thanks to his victim’s courage in coming forward to report what had happened that he has now been caught and prosecuted.
“COPFS is committed to bringing sexual offenders to justice and we strongly encourage anyone who has been a victim of any such offence to report this to the police in the confidence that they will be treated with the utmost professionalism and sensitivity by the police and our expert prosecutors.”