SOUTH BURLINGTON, Vt. — South Burlington teachers have overwhelmingly approved a new contract that was agreed to just hours before the educators in the Vermont city planned to go on strike.

Darren Allen, a spokesman for the Vermont chapter of the National Education Association, said the approval came Wednesday afternoon.

The teachers had been scheduled to go on strike Wednesday morning.

Negotiations lasted nearly 10 hours before the two parties reached an agreement around 2 a.m.

Union spokesman Noah Everitt says the agreement preserves great schools and it was reached after compromise by the union and the school board.

School Board Chair Elizabeth Fitzgerald said in a statement that members were pleased to avert a strike. The board could vote on the contract Wednesday night.