A 27-year-old Czech citizen who fought as a mercenary in Ukraine has been sentenced by a Prague court to seven years in prison for looting in the towns of Bucha and Irpin. Filip Siman claims that he was just following orders.

Siman enlisted in the ‘Carpathian Sich’ unit at the start of the Ukraine conflict and boasted on social media of “liberating” the belongings of both civilians and fallen soldiers. Czech authorities charged him last month with looting and with serving in foreign armed forces.

“The defendant is guilty both due to the video recordings he took on the territory of Ukraine, as well as the statements of the witnesses,” Judge Hana Krestynova of the Prague City Court said on Tuesday, as quoted by the newspaper Ceske Noviny (CTK).

According to videos he posted on social media, Siman looted both civilian homes and the personal effects of fallen soldiers. Among his acquisitions were jewelry, Gucci eyeglasses, silver and gold bars, and cash. He also took rings and berets off his fallen comrades.

Looting is a crime under Czech law, punishable by anywhere from eight to 20 years in prison, or even more in aggravated circumstances. The court sentenced Siman to less than the minimum, however, noting he had led “an orderly life” before. Prosecutors said they would appeal the sentence as too lenient, as they asked for at least ten years.