SAN FRANCISCO (KRON) — The San Francisco Police Department is investigating an officer-involved shooting Wednesday morning that left a police officer and a suspect wounded.

According to police, around 12:03 a.m. on Halloween night, officers working in the Castro neighborhood were flagged down by a resident regarding a suspicious vehicle in the area of 18th and Diamond Streets.

Officers approached the vehicle and there was an exchange of gunfire between the suspect and at least one officer.

One officer was transported to the hospital suffering from a gunshot wound, police said. That officer is in critical but stable condition after undergoing surgery for his injuries.

The suspect was also transported to the hospital for a gunshot wound. The suspect is in life-threatening condition.

Both the officer and suspect are undergoing surgery.

The 41-year-old officer is a nine-year veteran of SFPD.

The following areas are shut down to conduct the investigation: Market Street to 19th Street and Castro Street to Eureka Street. Officers will remain in the area as the investigation continues.

The neighborhood is a popular Halloween night gathering spot that has attracted as many as 250,000 people in the past to city-sanctioned parties. But San Francisco stopped sponsoring Halloween events in the Castro after nine people were shot in 2006, a culmination of other violent incidents over the years.

The 41-year-old officer was patrolling with several officers for the busy Halloween night.

WHAT OTHERS ARE CLICKING ON: 

>>MORE STORIES