A man who sexually abused a teenage schoolgirl on a bus has been jailed for 23 months.
Alex Dale approached the 15 year-old and showed her explicit messages as they travelled through Barry last October.
Just two days later, he grabbed and pushed a 11 year-old girl to the floor as she was walking her dog near Cardiff Golf Club.
South Wales Police said the 32 year-old from Adamsdown, who pleaded guilty, was caught via facial recognition technology.
CCTV footage, released by the force, showed him fleeing the scene of the second assault on a footpath in Cyncoed.
Newport Crown Court heard detectives had sourced footage from the bus where he had approached his first victim on 23rd October 2024.
Further enquiries revealed he had used a mobile phone app, linked to his e-mail address, to buy his bus fare.
Using retrospective facial recognition, which compares still images of faces of unknown people against a reference image database, detectives were able to arrest and charge Dale within a week.
In court, he admitted sexual assault and inciting a child to engage in sexual activity.
Dale was also given a sexual harm prevention order for ten years, banning him from any unauthorised or unsupervised contact with under 18s.
Following sentencing on Wednesday, Detective Constable Emma Partridge from South Wales Police said: "Both victims have been incredibly brave to share what happened to them and support the investigation."
"Dale’s actions continue to have a huge impact on their day to day lives including feeling vulnerable on public transport and walking alone."
"I hope today’s sentencing brings the girls some comfort and allows them to regain their confidence to move forward."
"Everyone has the right to feel safe, wherever they are, and South Wales Police does everything possible to keep communities safe and ensure people feel safe when going about their everyday business."
"Stranger incidents like that are very unusual, but when they do happen, we use all available technology and traditional policing methods to bring offenders to justice."

13,900 French Rugby Fans fly into Cardiff Airport ahead of Six Nations Fixture
Vale Councillor blasts school funding in the county
Bear Field Skate Park set for major upgrade as part of new Placemaking Plans
New apprenticeship courses in construction to be introduced in Wales
Former Penarth Bank could become a cafe
New poll shows majority of Welsh voters lack voting confidence ahead of Senedd Election
Construction hub secured for rail upgrades
Prolific thief banned from Holton Road
Cowbridge: plans for more holiday lodges
Man dies suddenly in Romilly Park
Cash boost for Sully Primary School
Speed limits reduced despite objections
Concern over imported chicken in school meals
A48 closed after three-vehicle collision
Rhys unveils red bench 'in living memory'
Barry: plans lodged for 70-home development
Plans to revamp Heritage Coast centre