Thai security forces have killed a soldier who shot dead at least 29 people during a brutal rampage on Saturday.

Police and military personnel stormed the Terminal 21 shopping mall in the northwestern city of Nakhon Ratchasima to face suspected gunman Sgt Jakrapanth Thomma.

Of those who died, 23 were civilians, three were police officers and three were army officers.

Officials said the soldier, who has been confirmed dead, was angry over a land deal.

His death brought an end to an hours-long stand-off at the centre, during which automatic gunfire was heard and one security officer died, with two others wounded.


Image: Jakrapanth Thomma seen on CCTV inside the shopping centre

Image: The gunman has been named as Sgt Jakrapanth Thomma

Further gunfire and explosions were heard inside the mall after the death of the security officer was confirmed.

Thai authorities do not believe there are any more bodies inside the mall, which shoppers were evacuated from.

Thomma appeared to be armed with an assault rifle, based on security camera video aired on Thai Rath television.

Several Thai media outlets reported that he travelled to the mall in a military vehicle.

Dozens of people were seen running from the building, fleeing in groups, with some carrying children and others supporting elderly people by carrying them with one person on each side.

Thai gunman walking through mall

Police announced they had secured the mall more than eight hours after the gunman began his killing spree.

The gunman initially went to a house in the city, which is more than 250km (155 miles) from Bangkok, and shot two people dead before going to a weapons store on an army base and taking a new gun, local police said.

Image: Police say Sgt Jakrapanth Thomma was reportedly angry over a land dispute

Earlier in the day, he posted on his Facebook page that: "Death is inevitable for everyone."

At one point after the shooting had begun, he wrote: "Should I give up?"

He also uploaded a picture of what looked like him holding a gun.

In a later post, he wrote: "I have stopped already."

Image: Thailand Police had issued a 'most wanted' poster

Facebook said on Saturday that it had removed the account, saying: "Our hearts go out to the victims, their families and the community affected by this tragedy in Thailand.

"There is no place on Facebook for people who commit this kind of atrocity, nor do we allow people to praise or support this attack."

The soldier opened fire at different locations in the city, police spokesman Kissana Phathanacharoen said in a message to reporters.

He then drove past a school towards the Terminal 21 shopping centre and continued his shooting spree.

It was shut down and the street outside closed.

Image: People evacuated from the Terminal 21 shopping mall by members of the security forces

Video taken outside the shopping centre and shared on social media showed people taking cover in a car park as gunshots were fired.

A woman interviewed by Thailand's Channel One television said when she heard gunshots she hid in a clothing store with other people before managing to escape.

Another woman who filmed a video from outside the centre said she had just left the building after finishing her meal.

Image: People who were evacuated seen outside the shopping mall

"While we were in our car on the opposite side, we heard a loud sound and then we could see people starting to run out", said Nattaya Nganiem.

She added: "First I saw a woman run out from the mall hysterically. Then a motorcycle rider in front of her just ran and left his motorcycle there.

"I thought, what's happening? Then we heard several gunshots.

"The motorcycle guy probably had seen the gunman from where he was. We couldn't see him, but we could hear the sound of the gun. It was terrifying.

"We were just inside having dinner and my child was getting unusually restless, that's why we left, otherwise, we would have been stuck inside there.

"I can't believe this is happening in my hometown. I mean, this shopping mall, we go there almost every other day."

She said once she got home and learned what had happened, she fainted.

Image: People running out of the mall during the shooting

A police officer said the suspect had been involved in an argument about a land deal and shot two people who were involved - another soldier and a woman.

He said a third person was injured.

Image: Thai security forces take cover behind an ambulance as they hunt the suspect

Prime Minister Prayuth Chan-ocha who, who has been visiting the injured in hospitals, also expressed condolences to the families of those killed.

He said he hoped such a tragedy 'never happens again'.