But right after admitting to all charges his sentence was reduced to 15 years in jail.
"The suspect had repeatedly committed wrongdoings and in this case the judge has sentenced him with minimum penalties for both charges," said the court official.
Given that seizing power in Thailand in May possibly, the army has clamped down on any opposition to its takeover, with a crackdown on perceived slurs against the royals at the heart of its stepped-up on-line surveillance operations.
Beneath the rules, anybody can make a complaint about a perceived royal insult and police are duty-bound to investigate.
Ahead of the coup, calls for reform of the lese majeste laws had grown following several high-profile convictions.
But academics urging greater debate are among hundreds of individuals who have been summoned by the junta and temporarily detained in secret places.