Work has been completed on a multi-million pound upgrade of Barry's railway depot.
For the first time in over 25 years, drivers are based at the site, which was bought by Transport for Wales (TFW) in 2022.
58 people now work at the depot - including 39 drivers - in what TFW describes as "a huge boost to the local economy".
The newly refurbished depot, which was officially opened last month, is now used to house most of the Class 756 and Class 231 trains serving the lines between Rhymney and Barry Island, along wth the Treherbert, Merthyr and Aberdare lines.
Depot manager Alun Davies said: "This is transformational for people and the area and is testament to the hard work of so many to make it happen."
"It’s incredible to have the drivers coming back here."
"When we took the depot on it required a major clean up operation. We took a really joined up approach to it, putting safety and sustainability at the forefront, as well as looking ahead and planning for the future."
The Barry Railway Company built the depot in the 1890s as part of the developments of the town's docks and railway.
It remained open as a driver depot until the 1980s, as British Rail looked to reorganise ahead of privatisation - although freight train drivers working for EWS were still based there until 1999.
Cambrian Transport, under its director John Buxton, was based at the site from 2009 until it became a part of TFW three years ago.

Timetable changes on Sunday 18th May marked the return of drivers to the depot, which includes a new wellbeing garden for staff and visitors and a walking route to and from Barry railway station.
Heavy maintenance and fuelling of the trains will continue to take place at TFW's Canton depot in Cardiff.

"What's Occuring" as Nessa delivers rallying cry to Wales ahead of the clash with Australia
Tŷ Hafan Children's Hospice extends fundraising target after original target smashed
Barry heritage groups and Town Council at odds over plans for new Heritage Centre
£940,000 gas pipe upgrade programme planned for Cowbridge
Fairfield Primary no longer requires significant improvement following Estyn visit
McLaren Construction has left the £280m Cardiff Arena Scheme
Plans submitted for holiday lodges, touring pitches and bell-tents at Fonmon Castle
Approval given to turn a pub into flats approved despite outrage from councillors
New radio network launched to tackle shoplifting and anti-social behaviour in Barry
Ty Hafan launched "Every Precious Life" Fundraising Appeal
Barry Christmas events to go ahead with extra security following town centre disorder
Reform MS calls for “no more devolution in any area”
Barry museum to capture local Gavin & Stacey memories in new video project
Extraordinary council meeting called over anti-social behaviour in Barry town centre
Local Dinas Powys pupils gain insight into gas safety
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