 After that he served in the Cavalry of the Court.He was appointed a member of the Royal Court of Justice in February 1652.The new Prince of Transylvania, George II Rákóczi nominated him to the head of the Chancellery in 1656.