 After returning to Poland , he was appointed to the Royal Chancellery , and soon became a favorite secretary to King Sigismund II . In 1567 he commanded a royal task force , sent to remove the noble family of Starzechowscy from the royal lands they were decreed to hold illegally . Another major task he completed at that time was the reorganization of the Chancellery archive . 
