An officer-involved shooting early Wednesday morning prompted the temporary closure of all lanes of eastbound Interstate 580 in Livermore, according to Livermore police.

Two men initially were taken into custody at the scene at Airway Boulevard and Kitty Hawk Drive, and no officers were injured, police said. One of the men was arrested.

The incident began as a traffic stop on a suspected DUI involving the driver of a white sedan. During the investigation, a second vehicle approached the scene via Airport Boulevard and made a sharp turn toward the officer and the driver who was pulled over, prompting officers to open fire, police said.

The driver of the second vehicle, a black sedan, was hit in the leg by one of the officers' rounds and subsequently taken into custody, police said. The driver of the white sedan in the initial traffic stop was cooperating as a witness, police said.

The CHP said the freeway closure started around 4 a.m., but the freeway lanes were reopened at about 4:30 a.m. Airway Boulevard and the eastbound offramp remained closed during the investigation.

The injured suspect was seen being taken from the scene in an ambulance.