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."

Former Holm View Leisure Centre could become education and community hub
ScoutsCymru members represent Wales at Royal Albert Hall Festival of Remembrance
Plans for indoor market at former Barry Wilko move forward
Police given additional powers to deal with anti-social behaviour in Barry
Senedd passes supplementary budget with £60m boost for additional learning needs
Future of planned festive events in question after criminal damage to Barry Town Hall
Consultation to open on plans for 35MW solar farm near Penarth
No Trains through the Vale of Glamorgan this Sunday
Police and Cardiff City launch operation to tackle matchday anti-social behaviour
Free leaf and fallen fruit collections return in the Vale
Barry retains Fairtrade Town status until 2029
£1m improvements planned for Pencoedtre Park as splashpad work set to begin
Plan submitted for new independent school on site of well-known charity farm
Is your hot water bottle safe?
Solicitor sentenced for defrauding Cancer Research UK
Cate is crowned champion!
WATCH: Winner of The Voice UK Cate McHugh duets with Sir Tom Jones
Barry filmmaker takes her documentary to the big screen in New York
Pupils leave their mark on new school at steel signing event
£3m refurbishment plans revealed for Cowbridge Town Hall