A teacher has died on Thursday in southern Thailand's Hat Yai district after a gunman opened fire at a school where she worked at, the provincial administration said on social media.
A 17-year-old used a firearm stolen from a police officer to shoot the teacher, identified as Sasiphat Sinsamosorn, at the Patongprathankiriwat School in Songkhla Province's Hat Yai district on Wednesday before being detained by police.
A student was also shot. Information about her condition has not yet been released.
Sasiphat, who also served as the school's director, was taken to an intensive care unit for surgery but died at around 2:00 am due to internal organ injuries and significant blood loss, the health ministry said.
The school posted a message of condolence on its Facebook page, saying "although we have lost you, the memories and the goodness you left behind will remain in our heart forever".
Officials said the detained suspect, who has a sister at the school, has a history of substance abuse and was discharged from a psychiatric hospital in December.
Gun violence and ownership are not uncommon in Thailand. In 2002, a former police officer killed 36 people, including 22 children, in a gun-and-knife attack at a nursery in the east of the country.

Fire in rebel-held east Congo kills 24 schoolchildren
Trump touts $5,000 payout if Republicans win as Vance waits in wings
Search expands after Philippine ferry fire kills five and leaves dozens missing
Trump says Iran war to end after US midterm elections
At least 20 killed in cargo vessel fire at China shipyard, state media reports
US military says it struck vessel in Caribbean, killing 3
At least 14 killed in explosion at weapons depot in Syria
US hits five Iranian oil tankers after attack on Navy ships
