Teachers in Swansea have called off strike action that followed the alleged dismissal of a teacher for breaking up a fight between two pupils.
Members of the NASUWT teaching union had been on strike since 12 September, when its offer to Swansea Council was rejected.
The NASUWT said the offer would have resolved "the dispute and [had] no detrimental effect on the school at its centre" and "allowed Swansea Council to regain the trust of teachers by ensuring that the Council adheres to collective agreements".
Hundreds of secondary teachers in the city previously walked out in July over the dispute.
The union now says the dispute has been resolved and it hailed the result as a "fantastic outcome".
It is not clear, however, whether the teacher at the centre of the dispute has got his job back.
Neil Butler, the union's official for Wales, said secondary teachers in Swansea had "faced mounting stress and uncertainty over their rights at work" over a period of months.
"The council's decision to honour existing collective agreements and repair the damage done by breaking one of these will bring feelings of relief to many, but it should never have come to this," he said.
"Now it is time for Swansea Council to begin the essential work of restoring their relationships with teachers."