Gunman, identified as a junior army officer, had holed himself up in a basement of shopping centre in Nakhon Ratchasima.
Hours before he began shooting, Jakrapanth had posted on his Facebook account denouncing greedy people.
Thailand Police revealed Sunday they tried several times to persuade a soldier who had killed 29 people to turn himself in, and even brought the gunman’s mother in to talk to him. Most of the victims were at the city’s Terminal 21 shopping centre, where the shooter held out against an overnight siege with an assault rifle and ammunition stolen from his army base. Public Health Minister Anutin Charnvirakul said more than 31 others were injured.
“Thank you police and army for ending the situation. Shooter shot dead!!!” Anutin later wrote on Facebook.
Mourners attend a vigil for victims of the mall shooting on Sunday in Korat, Thailand.
WATCH THE VIDEO HERE: Thai soldier shot dead after killed 29 people