Two people were killed and 21 others injured in a hospital attack on Tuesday in Zhenxiong county, Southwest China's Yunnan province, the local authority said in a statement.
The county's public security bureau confirmed that the incident happened at 11:37 am on Tuesday.
Those that received injuries are now receiving treatment at a local hospital, and the authorities are investigating the case.
According to a police statement, the suspect, a male villager from Poji town, Zhenxiong county, was captured on Tuesday afternoon.
A doctor who is tending the wounded from the county's People's Hospital told Nanfang Metro Daily that the incident took place in the south campus of the hospital, where a child was also injured.
The district office has announced that it has entered an emergency state, said the newspaper.