Parents and pupils had staged protests supporting Bayble
The council on the Western Isles has decided to close Bayble Secondary school on the Isle of Lewis next year.
The school was set to close in 2011 at the earliest, along with two others, but due to falling rolls it will now shut in June 2010.
The decision was ratified on the advice of the education committee at a full council meeting.
Chair of the education committee, Morag Munro, said rolls had fallen as parents removed their children from the school.
Bayble provides S1/2 education before the pupils go to larger academies for the rest of their secondary education.
Most join the Nicolson Institute in third year.
Ms Munro said: "What we have got here is where the parents themselves have taken the initiative and have moved their children and that is why the school roll has fallen so drastically.
"It was a decision by parents to move their children from Bayble to the Nicolson, and that is the situation we are in.
"So it is good we have got that agreement and consensus from the parents and we are very grateful to the Point people for their reasonableness over this whole issue."
Opponents of the school closure blamed council confusion over the closure for parents removing their children.