A decision to close a Bedfordshire village school has been overturned by the government's schools adjudicator.
Central Bedfordshire Council had voted to shut Shelton Lower School, near Marston Moretaine, for financial reasons due to a drop in pupil numbers.
The 75-capacity school had about 30 pupils when the closure decision was made.
After reviewing the decision the schools adjudicator, Ann Talboys, said there were "insufficient" grounds to close it, the council did not take into account the effect on the local community, and they had not considered the alternatives to closure or taken into account the new homes being built near the school in their pupil forecasts.
Central Bedfordshire Council said it was "surprised" by the decision.
"[We] are, as ever, committed to working closely with the school to address the reality of the falling number of pupils on its roll," a spokesman said.