SACRAMENTO (CBS/AP) — The Sacramento County Sheriff’s Department says a deputy was shot in the face during an altercation at a light rail station on Tuesday.

The Sacramento County Sheriff’s Department says the deputy who was wounded was working overtime as part of an effort to remedy problems at the light-rail station.

READ MORE: UPDATE: Alameda County Supes Debate Proposed Oakland A's Stadium Financing

Sheriff’s department spokesman Tony Turnbull wouldn’t elaborate on what issues prompted the extra patrols.

The deputy’s condition is stabilized and he is expected to survive.

Turnbull says the deputy was talking when he left the scene.

Dispatchers got a call about a fight involving the deputy and a passenger, but it’s not known what led up to that fight. Shots were fired, and the suspect fled the scene.

READ MORE: East Palo Alto Residents on Edge Over Possible Placement of Convicted Sex Predator

The incident happened just before 6 p.m.

A Sacramento County Sheriff’s helicopter spotted the suspect fleeing the scene toward the nearby Red Roof Inn. SWAT officers surrounded the scene and worked to get the suspect out.

The deputy is contracted with Regional Transit for calls for service with the department.

The shooting happened in the area of Longview Drive and Watt Avenue, just off of Interstate 80.

Red Roof Inn was on lockdown and nearby businesses were evacuated.

MORE NEWS: Theranos Trial: New Testimony Alleges Holmes Lied To Lure Billionaire Devos Family To Invest $50 Million

Law enforcement said they have taken the suspect into custody.