A Expo Line train being tested in Santa Monica derailed Thursday after hitting a truck at the intersection of Colorado Avenue and 7th Street, authorities said.

The crash marked the first major incident involving a train in Santa Monica since testing began on the local portions of the light-rail track, which connects to downtown Los Angeles.

The accident happened at about noon as the truck driver attempted to make an illegal left turn from westbound Colorado Avenue onto southbound 7th Street, according to Santa Monica police. The westbound train hit the cab of the truck, which was carrying construction materials.

The truck driver was transported to a hospital with minor injuries, Lt. Richard Lewis said. His turn was in violation of posted signs.

The train came off its tracks in the accident but remained upright, and officials were working Thursday afternoon to get the train back onto the tracks.

A driver and two other officials were aboard the train at the time of the incident, police said. One was complaining of minor injuries.

Santa Monica police are looking into the accident and the investigation is ongoing. Officials from the Santa Monica Fire Department, Los Angeles County Sheriff’s Department and Metro also responded to the scene.

Colorado Avenue was temporarily closed between Lincoln Boulevard and 6th Street, and surrounding roads were heavily congested Thursday afternoon. Officials urged motorists to avoid the area.

Expo trains have been undergoing tests along the extended track from Culver City to Santa Monica in recent months. The extended line is expected to be open to passengers by mid-2016, although it’s unclear whether Thursday’s accident will impact the timeline.

More Expo Line testing is scheduled for Dec. 14-18, according to a City of Santa Monica update.

The 15.2-mile, $2.5-billion Expo project includes three stations in Santa Monica, including the western terminus at Colorado Avenue and 4th Street. Much of the funding is coming through Measure R, a sales tax initiative that Los Angeles County voters approved in 2008.

City Manager Rick Cole said recently that Santa Monica police are working with other public safety agencies to prepare for Expo’s arrival. He said there are numerous potential violations associated with the forthcoming transit option, including walking on the track, driving on the track and making illegal turns along track-adjacent roads.

“We have a lot of education and some enforcement to do,” he said. “Obviously our emphasis is going to be on education, but in order to protect people’s lives when the trains begin running seriously, we’re going to have to be very vigilant to enforce the law to protect people’s safety both on the train and on the street.”

Call to City of Santa Monica, local fire department and Expo officials were not returned Thursday.

Earlier Thursday, the Metro Blue Line was suspended after a body was found under the train in the 4100 block of South Long Beach Avenue, south of downtown Los Angeles.