BEIJING, China (CNN) -- A man wielding a knife broke into a Shanghai-area police station Tuesday, killing five police officers and injuring four others, authorities said.
He also set fire to the building's main gate.
Police identified the 28-year-old suspect only by his surname, Yang.
The unemployed resident of Beijing was reportedly unhappy with the punishment he received after being convicted of stealing a bicycle, when he launched his attack on the station, police said.
He was arrested at the scene.