During 12–18 June 1798, Napoleon resided at the Palazzo Parisio in Valletta. He reformed national administration with the creation of a Government Commission, twelve municipalities, a public finance administration, the abolition of all feudal rights and privileges, the abolition of slavery and the granting of freedom to all Turkish and Jewish slaves. On the judicial level, a family code was framed and twelve judges were nominated. Public education was organised along principles laid down by Bonaparte himself, providing for primary and secondary education. He then sailed for Egypt leaving a substantial garrison in Malta.