The Industrial Revolution transformed Japan between 1870-1912 during the Meiji Period. Prior to this period, Japan had a feudal system and isolated economy focused on agriculture with little technology or industrial development. In 1853, Japan was forced to open trade with Western powers through unequal treaties. During the Meiji Period, Japan abolished its feudal system, established a national education system and constitution, and invested heavily in railways, shipping, textiles, and other new industries. By 1912 at the end of the Meiji Period, Japan had developed a highly centralized government, elected parliament, modernized its infrastructure and industry, and established itself as an industrialized nation on par with Western powers.