A Cape Elizabeth High School junior was seriously injured early Saturday morning in a single-car crash on Old Ocean House Road.

Cape Elizabeth Police Chief Neil Williams said the student’s name was being withheld while his family was notified. Police told WCSH-TV 6 that the victim is a 17-year-old boy.

Williams said the driver was operating a 2006 BMW sedan toward town when it left the road on a curve and crashed into some trees. The driver was wearing a seat belt.

Police arrived on the scene just after 5 a.m., the Portland TV station reported.

Williams said it appears speed was a factor in the crash. It is not yet known whether alcohol was involved in the crash, Williams said. The crash remains under investigation.

The high school opened its doors Saturday to provide a place to meet for students in need of support, Principal Jeffrey Shedd said in an email to students.

The student is in serious condition at Maine Medical Center in Portland, Williams said. The hospital asked students to gather at the school and not at the hospital, Shedd said.

“Our Achievement Center and third-floor lobby area are open to any students who would like to gather together for support,” Shedd wrote in his email. “We have a number of students here already. While we will have school staff available to talk with students, our staff will not intrude, understanding that students most need the support of one another.”

Shedd said the school would also be open from noon until 3 p.m. Sunday.

“On Monday, we will begin school with a brief advisory period and then we will move into our school routine, offering help and support and a place to gather for students in need,” Shedd wrote.