NANTUCKET — No students were injured when a pickup truck crashed into an unoccupied room at Cyrus Peirce Middle School during school hours Friday morning, according to a statement from the Nantucket Police Department.

Nantucket police received a call at 9:03 a.m. that a vehicle had struck the side of the school, and responded along with state police and the Nantucket Fire Department to find that a Ford pick-up truck had crashed into the southwest corner of the building, according to the statement.

The middle school and the adjacent Nantucket High School were evacuated, but students were allowed to return to class after the Nantucket Building Department arrived and confirmed that the structures were safe, according to Cyrus Peirce Principal Peter Cohen.

The damaged room will not be used until it’s repaired, according to the statement.

“It’s business as usual and classes that normally take place in that room are taking place in the library,” Cohen said.

The driver is believed to have experienced a medical event that caused him to crash, according to the statement from police. He was brought to Nantucket Cottage Hospital and the vehicle was towed from the scene.

Police have not released the driver’s identity pending the notification of his family, Nantucket police Lt. Angus MacVicar said.