Police in Oakland are searching for a man who used a gun to beat a victim during an attempted robbery Friday morning.

The violent attack happened around 8:04 a.m. near the MacArthur BART station.

Investigators say the 40-year-old victim was pistol-whipped during the altercation.

“He struck the victim with a firearm using it as a blunt object,” according to a spokesperson for OPD. “At this time we do know that the firearm discharged but it is still under investigation to see if it was an accidental or intentional discharge.”

BART riders had to navigate around the yellow crime scene tape during the morning commute.

BART officials say neither the suspect or victim came from BART, but they say it’s likely the victim may have been on his way to catch a train.

Oakland council member, Dan Kalb says crimes near BART stations are ongoing problems in the city.

“People walking from or to MacArthur BART station or Fruitvale station, that’s not unusual for there to be some robberies,” Kalb said.

The victim suffered minor injuries and was transported to a local hospital where he’s in stable condition.

Police have limited information on the suspect.

>>MORE STORIES