SACO — North Street was shut down for about 20 minutes tonight after a 2007 BMW crashed into an oak tree and rolled over.

Sgt. Chris Hardiman identified the driver of the BMW as Aidan Macaodhaigan, 38, of Saco. The accident took place near the intersection of North and Franklin streets.

Macaodhaigan appeared to have suffered some type of medical problem, which caused him to lose control of his car around 5:30 p.m. His BMW crossed in front of a line of traffic before slamming into the tree.

He was taken to Southern Maine Medical Center in Biddeford with injuries that did not appear to be life threatening.

Hardiman said the tree likely prevented the car from entering an athletic field where the Thornton Academy girls’ softball game was being played.