Cardiff Bus workers have voted in favour of a new pay deal, averting the threat of strike action.
450 Unite union members were due to stage a series of walkouts from next Tuesday in a dispute over pay and conditions.
But plans for a three-week strike were suspended earlier this month while a ballot was held on a new deal, including a backdated pay increase of 5.86%.
It also includes further improvements to sick pay - including a one-day unpaid wait and long-term pay kicking at four weeks at a higher rate.
Cardiff Bus has confirmed all of its services, including routes covering the Barry and Penarth areas, will continue to operate as normal.
Managing director Craig Hampton-Stone said: "We are delighted that this dispute has been resolved through constructive dialogue."
"The agreement reflects our determination to support our employees while ensuring Cardiff Bus continues to provide a reliable and dependable service for our city."
"We are grateful to Unite for engaging in this process and to our customers for their patience and understanding during this period of uncertainty."
Further terms of the new deal include extra walking time to guarantee a 45-minute break for drivers along with a paid 15 minute break for garage workers.
Workers on contracted routes who had different terms and conditions and were expected to work longer hours than their colleagues will also now be covered by existing agreements.
Unite general secretary Sharon Graham said: "Our members at Cardiff Bus have fought to improve and protect pay and conditions not just for themselves, but for the long-term benefit of the sector in Wales."
"This shows the power of a union and the hardworking reps should be applauded for their actions. This is yet another example of Unite winning for workers up and down the country. We will always battle to improve members' pay and conditions."
But Unite's chief Welsh officer said he was disappointed that the union had come "so close to strike action" in order to achieve "very reasonal goals".
They're also concerned about the impact on pay rates of the upcoming bill to franchise bus services across Wales, which is due to receive Royal Assent next year.
Alan McCarthy said: "Our members at Cardiff Bus have shown that workers must be prepared to act in order to achieve better pay and conditions, particularly in the bus sector."
"Unite members stood firm in their fight for fair pay, but also to ensure no colleague was left with inferior working conditions, this is true trade union values in action."
"It's disappointing that we had to come so close to strike action in order to achieve these very reasonable goals, but as we approach franchising it stands as a stark reminder of the need to standardise pay and conditions across the sector."

Barry-born actor nominated for Emmy Award for role in hit US drama
AI-powered tech helping Vale residents gain confidence and independence
Shirley Hodges Elected as New Councillor for Baruc Ward
Thousands of Illegal and Unsafe Products Seized in Major Crackdown Across the Vale, Cardiff and Bridgend
New figures highlight growing impact of extreme heat on heart health
South Wales Police rolls out new body armour to protect frontline police dogs
A luxury Penarth hotel with star-studded clientèle is planning to expand with a sauna, hot tub and more
Vale of Glamorgan Council has been criticised for the amount it spends on external contractors
Barry Dock RNLI urges beachgoers to keep inflatables out of the sea after two people were blown offshore
Paddleboarders Rescued After Getting Caught in Strong Tide Off Cold Knap
Plans for new development agency for Wales: A “key driver” or “just another quango”?
Ysgol Gymraeg Bro Morgannwg Praised for Inclusive Ethos and Strong Welsh Language Provision
Work Begins on £29m New‑Build Project for Ysgol Iolo Morganwg
Rockfall prompts safety warning at Jackson’s Bay
Gas Pipe Upgrade Works to Begin in Dinas Powys This Week
St Illtyd Primary Celebrates School of Sanctuary Award
Community Invited to Help Shape Llantwit Major’s Future
Senedd members call for better recognition of the impact of trauma in childhood
CCR Energy provide update following Aberthaw fire on Thursday