Peter the Great made significant changes to modernize Russia's military and government based on what he observed during his Grand Embassy to Western Europe. He established a Table of Ranks to create a merit-based civil service and military, replacing the previous system of inheritance. Peter also developed a Senate to replace the Boyar Duma and oversee the state, as well as several Colleges to administer different government functions. Additionally, Peter founded the Russian Navy, building an industry to produce warships and weapons to project Russian power.