Please turn on JavaScript. Media requires JavaScript to play. Advertisement
Two people were killed when a man confronted by police for scrawling graffiti at a Mexico City subway station opened fire on passers-by.
Five other people were hurt in the incident, which happened on Friday afternoon at Balderas station, a major interchange.
The gunman, identified as 38-year-old Luis Felipe Hernandez Castillo, was then captured by police.
A police officer and a man who tried to tackle him were killed in the incident.
Footage of the shooting showed rush-hour commuters scattering as the man opened fire.
One man is seen trying repeatedly to grab hold of the gunman, before being shot.
The gunman then retreated to a carriage before being surrounded and captured by police.
A witness told the Associated Press news agency that the man shouted that his attack was "against the government".
Police chief Manuel Mondragon said he would assign more officers to patrol the subway system.
Entrance to the Balderas subway station
According to police reports, at least two people were killed and five more wounded on Friday after a gunman opened fire at a subway station in Mexico City, Mexico.

Witness reports say that two men were shouting slogans against the government in the Balderas 
station. One of them started drawing graffiti on a wall, and opened fire when a police officer tried to restrain him.

The police officer and a passerby who tried to stop the gunman were both killed.

Only one person was arrested after the incident, the El Universal newspaper reported. He was later identified as Luis Felipe Hernandez Castillo, 38.

Manuel Mondragon, the police chief, pledged to increase police presence in the subway system following the attack.