 In 1813, being made member of the commission of legislation, he applied himself to the framing several useful legal reforms, most of which have since been adopted.In 1816, he was made vice-president of the aulic tribunal of Dillenburg; and shortly afterwards, he was named counsellor of state.He had for a long time pleaded the cause of the widowed duchess of Anhalt-Schaumburg (as guardian of her children) against the duke of Anhalt-Bernburg, in a question relative to the validity of the transference of some property; and the course of the suit requiring his presence at Berlin, he went there in 1819; but the views of the question which he took were not recognized by the tribunals.