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.

Plans are under consideration to build over 200 houses in a sleepy Welsh village
Sanitary disposal bins introduced in men's public toilets following "Bins for Boys" campaign
Officers called to Dinas Powys Woods after young person enters the river
Vale Council signs off placemaking plan for Barry
Plans filed to use Blackweir Fields for a series of live events this summer
Plans filled for controversial housing development in Cowbridge
Cardiff Council pledges to work with new Welsh Government to tackle trouble-plagued hospital
RNLI issues Sully Island safety advice after first call out of the year to the Island
Morio Lounge on course to open at Nell's Point in May
Vale Council appoints specialist contractors to carry out road improvements
Three men jailed for their roles running a drugs line which supplied cocaine in Barry
Police appeal for witnesses after fatal Penarth Road collision
New Beach and country park facilities opened following major investement
RNLI centre at Barry Island welcomes lifeguards back to Whitmore Bay
Severn tidal lagoons progress