Police said the shooting occurred in Na Klang district of Nong Bua Lamphu, some 269 miles away from Bangkok.

The victims include 24 children, with some as young as 2 years old according to local media.

The attacker was ex-cop and he was armed with a shotgun, a pistol and a knife.

On Thurday At 12:30 p.m. local time he opened fire.

Press reports that 19 boys, three girls and two adults were killed in the building.

The attacker also shot nine other people dead as he fled.

one of the teachers shot was eight months pregnant.

Central Investigation Bureau initiated a manhunt.

But later said he was found at his home, where he had killed his wife and child and then himself.