Tā zhīfǎ-fànfǎ, zuìzhōng shòudào le guófǎ de yánchéng.
He broke the law knowing full well what he was doing, and in the end was severely punished under the law of the land.
Tips
usage
国法 is mostly heard in set expressions: 党纪国法, "Party discipline and state law", and the saying 国有国法,家有家规, "a country has its laws and a family its rules". In ordinary speech the word for law is 法律, and 王法, the "king's law", is the older equivalent.