She was reported missing on 7 June 2024, after Ullah drove her around Bolton before sexually assaulting her at the moors.
The girl later told police what happened and officers traced the number used to contact her to a phone registered to Ullah.
Two days later Ullah was arrested in Bolton after he was spotted emptying and cleaning his car.
Despite entering an initial not guilty plea, extensive phone and number plate evidence left him “little choice” but to admit the crimes, a police spokeswoman said.
PC Becky Greenwood said Ullah had shown no remorse for his “persistent attempts to exploit” the children.
She said she wanted to thank the girls who “bravely disclosed Ullah’s depraved behaviour”, adding: “We know that this sentence goes no way to make up for what Ullah subjected them to, but we hope they can draw some comfort from the fact he is now behind bars.”