 He defended the Danish absolutist monarchy against Enlightenment criticism, writing a polemic against Montesquieu's "De l'esprit des lois" in 1765.His principal work is the first history of Danish law, in which he emphasized the view that Danish law had original roots and was subject to limited influence from other traditions.Kofod Ancher also held several government offices, including auditor-general of the navy since 1753.