OAKLAND -- A suspect who police say robbed a passenger on a BART train and tried to rob someone else at the West Oakland station was arrested Wednesday morning, and the activity delayed trains for about 15 minutes, police said.

A BART train heading toward San Francisco was approaching the West Oakland station around 5:45 a.m. when a man approached a passenger, flashed what appeared to be a gun and demanded money, BART police Lt. Aaron Ledford said. The passenger complied, handing over his wallet and phone, Ledford said.

The suspect then left the train and the victim continued on to the Embarcadero station, Ledford said. Police said the suspect met up with two other people in the parking lot of the West Oakland station, where they confronted someone else.

That person ran away and into the West Oakland station where he contacted police, Ledford said. Then the person noticed that one of the suspects, who turned out to be the man suspected of the earlier robbery on the train, had re-entered the station and had returned to the platform, Ledford said.

Police responded and had ordered trains to be delayed when a call came in from the original victim. The person accosted in the West Oakland station identified the arrested man, and the person who had traveled to the Embarcadero station returned to West Oakland on another train and was able to identify his wallet and his phone, Ledford said.

Police did not identify the suspect or reveal his age, but said he had a pellet gun.

The suspect was expected to be booked on suspicion of attempted robbery and robbery, Ledford said. They were still searching for the other two people with him in the West Oakland parking lot.

Trains resumed normal service around 6:10 a.m. after an approximate 15-minute delay, Ledford said.

Contact Rick Hurd at 925-945-4789 and follow him at Twitter.com/3rdERH.