File photo.

Two men were injured in separate shootings overnight, including one drive-by and the other on foot, according to Long Beach police.

The first shooting took place Saturday night on Pine Avenue near 21st Street in Central Long Beach, according to police. At around 10 p.m., police believe the victim, a 23-year-old man, was sitting in front of a home when an unknown man shot him and fled on foot in an unknown direction, police said. The victim sustained non-life threatening gunshot wounds to the upper body and was transported to the hospital prior to officers’ arrival, police said.

At the scene of the shooting, police observed that the gunfire also struck a parked and unoccupied vehicle, and an inhabited building. There were no injuries inside the building, police said.

A few hours later, the second shooting took place Sunday at around 2:30 a.m. in the Washington neighborhood on 16th Street near Oregon Avenue, according to police. Officers found a 35-year-old man with gunshot wounds to the lower body. The victim was transported to a local hospital with non-life threatening injuries.

Police believe the victim was riding his bicycle when an unknown suspect inside a vehicle shot at him. The suspect vehicle then fled the scene before officers’ arrival, police said.

The motives for both shootings are unknown, and the investigations for them remain ongoing.