Under the emperor’s authority, Japan embarked on a program of modernization. In 1872, a group of Japanese politicians went on a tour of Europe and North America to learn more about industry, education and ways of life in the West. As a result, factories were built in Japan and the country started to change from agricultural to industrialized nation. This also included the establishment of a national railway system. During the period of Meiji rule, education was introduced for all Japanese people. The Meiji emperor also gave farmers ownership of their lands and changed Japan’s army and navy into modern military forces.