A 23-year-old man from Serbia was killed in a car crash in Kittery on Saturday.

Kittery police said the man, Erol Hodzic, crashed a sedan into a tree on Dennett Road shortly after 1 a.m..

Kittery police said Hodzic was in the U.S. on a J-1 visa, which allows students to live and work in America for a short period, usually four months or less. Authorities said Hodzic had been working in local restaurants and may have recently moved to Eliot from the Durham, New Hampshire, area.

Police said Hodzic’s family in Serbia was notified Saturday after noon. They said they don’t know what town in Serbia Hodzic is from.

Police said several passers-by stopped to help after the crash. Emergency workers from American Ambulance, the Kittery Fire Department and Kittery Police were able to get Hodzic out of the car and he was flown to Maine Medical Center in Portland with a severe head injury. He died at the hospital at 5 a.m., police said.

Kittery police are trying to determine the cause of the crash with the help of York police and Maine State Police.

Police said it is unclear if Hodzic was wearing a seat belt.