 Leibniz then dedicated an essay on law to the Elector in the hope of obtaining employment.The stratagem worked; the Elector asked Leibniz to assist with the redrafting of the legal code for the Electorate.In 1669, Leibniz was appointed assessor in the Court of Appeal.