A police cruiser struck and injured a 13-year-old student outside a middle school in Newburyport, Massachusetts, on Thursday afternoon, officials said.

The boy is expected to survive the crash at Rupert A. Nock Middle School on Low Street at about 2:30 p.m., Newburyport's city marshal said.

Stream NBC10 Boston news for free, 24/7, wherever you are. WATCH HERE

Investigators believe, citing witnesses, that the boy ran out into the street, and the path of the cruiser, from between two parked cars. The statement from the city marshal said the crash was unavoidable.

The officer immediately gave aid to the student along other first responders, and the boy was rushed to Anna Jacques Hospital.

Get updates on what's happening in Boston to your inbox with our News Headlines newsletter. SI

See Full Page