A student opened fire at a high school outside Bangkok on Friday, killing at least six people and injuring several others, police said.

The attack took place at Debsirin Nonthaburi School in Nonthaburi province, northwest of the Thai capital, Royal Thai Police spokesperson Trairong Piwpan told The Associated Press (AP).

One witness said students barricaded themselves inside a classroom after hearing gunfire from another building. They remained there until police officers arrived, knocked on the door and escorted them safely out of the school.

About an hour after the shooting, people stood outside the school comforting one another while police officers and first responders moved through the campus.

Emergency personnel stand together inside the compound of Debsirin Nonthaburi School, following a shooting incident at the school, in Bang Kruai district, Nonthaburi province, Bangkok, Thailand, Aug. 7, 2026. (Reuters Photo)