The explosion hit the Phramongkutklao Hospital in the Thai capital, Bangkok, in May on the third anniversary of a 2014 military coup. The hospital is popular with soldiers and their families and retired military officers.
Celebrity elephant kills owner in Thailand
Police arrested Watana Pumret, a retired government employee, after the blast and said he had confessed to the bombing because he despises the military. "From the evidence we believe the accused committed the offence ... the accused confessed to it," a judge said.
Courts in Thailand often do not identify the names of judges, with the exception of some high-profile legal cases. Watana was seen crying after the verdict.
He hugged his wife and refused to answer reporters' questions, according to a Reuters reporter at the court. Reuters was unable to contact Watana's lawyer after the verdict.
Pakistan, Thailand: FTA to be signed on Jan 15
Thailand's military launched a coup in May 2014 after months of street protests that took a toll on Southeast Asia's second-biggest economy. The military promised to unite the politically divided country and restore stability but it has been accused by critics of not wanting to relinquish power.
The military government has promised to hold a general election in November 2018 to return Thailand to democracy but senior government figures have said more time was needed to complete laws related to the vote. The government has also cited security concerns as a reason for not lifting a ban on politics that has been in place since 2014, despite increasing pressure from groups of all political stripes to lift the ban.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ