section_path: History/1868–1941
section_name: 1868–1941
paragraph_text: 1868–1941
  
  After the overthrow of the Tokugawa shogunate, for the first time in a few centuries, the Emperor ceased to be a mere figurehead and became both the de facto and de jure ruler of the country. Hisoka Maejima advocated for the relocation of the capital functions to Tokyo, recognizing the advantages of the existing infrastructure and the vastness of the Kanto Plain compared to the relatively small Kyoto basin. After being handed over to the Meiji government, Edo was renamed Tokyo (Eastern Capital) on 3 September 1868. Emperor Meiji visited the city once at the end of that year and eventually moved there in 1869. Tokyo had already been the nation's political center for nearly three centuries, and the emperor's residence made it a de facto imperial capital as well, with the former Edo Castle becoming the Imperial Palace.Government ministries such as the Ministry of Finance were also relocated to Tokyo by 1871, and the first railway line in the country was opened on 14 October 1872, connecting Shimbashi (Shiodome) and Yokohama (Sakuragicho), which is now part of the Tokaido line. The 1870s saw the establishment of other institutions and facilities that now symbolize Tokyo, such as Ueno Park (1873), the University of Tokyo (1877) and the Tokyo Stock Exchange (1878). The rapid modernization of the country was driven from Tokyo, with its business districts such as Marunouchi filled with modern brick buildings and the railway network serving as a means to help the large influx of labour force needed to keep the development of the economy. The City of Tokyo was officially established on May 1, 1889. The Imperial Diet, the national legislature of the country, was established in Tokyo in 1889, and it has ever since been operating in the city.
  
  On 1 September 1923, the Great Kanto Earthquake struck the city, and the earthquake and subsequent fire killed an estimated 105,000 citizens. The loss amounted to 37 percent of the country's economic output. On the other hand, the destruction provided an opportunity to reconsider the planning of the city, which had changed its shape hastily after the Meiji Restoration. The high survival rate of concrete buildings promoted the transition from timber and brick architecture to modern, earthquake-proof construction. The Tokyo Metro Ginza Line portion between Ueno and Asakusa, the first underground railway line built outside Europe and the American continents, was completed on December 30, 1927. Although Tokyo recovered robustly from the earthquake and new cultural and liberal political movements, such as Taishō Democracy, spread, the 1930s saw an economic downturn caused by the Great Depression and major political turmoil. Two attempted military coups d'état happened in Tokyo, the May 15 incident in 1932 and the February 26 incident in 1936. This turmoil eventually allowed the military wings of the government to take control of the country, leading to Japan joining the Second World War as an Axis power. Due to the country's political isolation on the international stage caused by its military aggression in China and the increasingly unstable geopolitical situations in Europe, Тоkуо had to give up hosting the 1940 Summer Olympics in 1938. Rationing started in June 1940 as the nation braced itself for another world war, while the 26th Centenary of the Enthronement of Emperor Jimmu celebrations took place on a grand scale to boost morale and increase the sense of national identity in the same year. On 8 December 1941, Japan attacked the American bases at Pearl Harbor in Hawaii, entering the Second World War against the Allied Powers. The wartime regime greatly affected life in the city.