"This was an horrific attack on a young woman which caused great concern in the local community.
"Miah's actions had a profound effect on his victim and I wish to acknowledge the victim's bravery in coming forward in what must have been a very difficult set of circumstances.
"The community is very much better off with this criminal behind bars, he acted in a vile, cowardly manner, threatening a young woman and carrying out an prolonged assault on her."
More top news
Two brothers have been found guilty of murdering a man from Sunderland.
There's a bit of everything on the way this weekend - here is the forecast.
Street signs have been put up in York and Scarborough to encourage revellers to stay safe this Christmas.