DAYTON — A 17-year-old Dayton teen who flipped his car and hit a utility pole Wednesday has been released from the hospital.

York County sheriff’s deputies say Evan Kiesiner was driving on Route 5 near 1046 New County Road in Dayton at 3:30 p.m. when he lost control of the 2001 Ford Focus he was driving. The car flipped and hit a utility pole, knocking down several live wires, the sheriff’s office said.

Kiesiner was trapped inside and rescue workers could not get to him because of the live wires, the sheriff’s office said. Traffic was diverted as Route 5 was shut down for a total of five hours during the rescue and subsequent investigation.

After Central Maine Power Co. shut down power, about an hour after the crash, Kiesiner was extricated and taken to Southern Maine Medical Center by Goodwin Mills Fire and Rescue. He was treated and released.

The sheriff’s office is investigating the crash.