PLEASANTON — Two people robbed a person who was walking on a pedestrian path Thursday night, police said.

Both suspects got away. One of them was a man who police said was 25 to 35 years old and wore a white hooded sweatshirt. They had no description of any kind for the other.

The robbery happened at the intersection of Bernal Avenue and Oak Vista Way just before 9 p.m. The two suspects approached the victim, a male walking east on Bernal Avenue along the pedestrian path, police said. His age was not released.

The suspects showed handguns and demanded the victim’s laptop bag, police said. He turned over the bag, along with his laptop, cell phone and wallet but still was punched with the gun before they fled west toward a Chevron at Valley Avenue.

The victim ran home after the robbery, called police and later received medical treatment for a cut to his the bridge of his nose, officials said.

Police reminded pedestrians to be aware of their surroundings when walking and not to break stride if somebody tries to stop them. They also said it is not a good idea to fight back with somebody who may be attacking you with a gun or other weapon, and that it’s always a better decision to give up belongings.