Two men have been arrested after a car was driven into the front entrance of a secondary school.
The black BMW was driven at speed around the car park of Fir Vale School in Sheffield before it crashed into the building, police said.
South Yorkshire Police said a 23-year-old and 20-year-old man, both from the Sheffield area, have been arrested on suspicion of dangerous driving and causing criminal damage.
A spokesman said no-one was hurt in the incident.
Temporary Detective Chief Inspector Steve Ashmore, said: "The school will remain closed for the remainder of the day as officers conduct inquiries to establish the exact circumstances surrounding the incident and provide reassurance.
"We are confident that this is an isolated incident and there is no current risk to the school or the surrounding community."
A statement on the school's website said: "There was an incident at the front of school today involving a vehicle. Nobody was hurt.
"All pupils and staff are safe and the issue is being dealt with by the police.
"We have taken the decision to send all pupils home on the advice of the police.
"Any pupils who cannot go home will be looked after at school."
Gill Furniss, the MP for Sheffield Brightside and Hillsborough, said: "I was shocked to hear the news about the incident at Fir Vale School in my Constituency this morning.
"I am incredibly relieved that on this occasion no one was harmed but it is awful to think that anyone would choose to endanger the lives of schoolchildren in this way."