Part of a primary school has been destroyed after a fire tore through the building.

The blaze broke out in a classroom at Cairneyhill Primary School in Dunfermline, Fife, at about 1pm on Friday.

More than 200 pupils were evacuated after the fire broke out.

The infant school was destroyed in the blaze, while the nursery and upper school are thought to have escaped much of the damage.

Staff led pupils to safety in a nearby church after the alarm was raised.

At the height of the blaze, around 30 firefighters were at the scene.

Crews remained at the scene on Friday evening dampening down flames as police warned residents to stay away from the area.

The school will remain closed on Monday and Tuesday, and council officials will decide on any further closures next week.

Chief inspector Irene Ralston, area commander for west Fife, said: "We are asking the public avoid the area where possible as emergency services deal with this incident.

"Fortunately all staff and pupils were evacuated safely and we continue to support our partners as the fire is extinguished."

A fire service spokesman said: "More than 30 firefighters are currently in attendance at a large fire which has taken hold within a school building on Northbank Road, Dunfermline.

"Operations Control mobilised a total of seven appliances to the scene after the alarm was raised at 1.03pm on Friday, December 8."