Matsuyama is the capital city of Ehime Prefecture, on the island of Shikoku, in Japan and is also Shikoku's largest city. , the city had an estimated population of 505,948 in 243541 households and a population density of 1200 persons per km2. The total area of the city is . Matsuyama is located in central Ehime Prefecture, facing the Seto Inland Sea to the north, the mountains of the Takanawa Peninsula to the north and east, and the Saragamine Mountain Range, an extension of the Shikoku Mountains, to the south. It is located on the northeastern portion of the Dōgo Plain. The city also includes the Kutsuna Islands, an archipelago of 29 islands in the Seto Inland Sea. Ehime Prefecture Tōon Imabari Tobe Masaki Kumakōgen Matsuyama has a humid subtropical climate (Köppen climate classification Cfa; Trewartha climate classification Cf) with hot summers and cool winters. Precipitation is significant throughout the year, and is heavier from April to July as well as in September. Per Japanese census data, the population of Matsuyama has been increasing steadily since the 1940s. The area of Uwajima was part of ancient Iyo Province. Dōgo Onsen was already famous in the Asuka period, and Shōtoku Taishi visited the spa in the year 596. It is also mentioned in passing in The Tale of Genji. At the end of the Heian period, Kōno Michinobu supported Minamoto no Yoritomo against the Heike clan during the Genpei War and was awarded with a position as shugo of Iyo Province. In the Muromachi period, the clan made their stronghold at Yuzuki Castle, near Dōgo Onsen, and developed the port of Mitsuhama to the west to link the area to Honshū and Kyūshū. The clan was conquered by Toyotomi Hideyoshi during his invasion of Shikoku, and later the area became part of Iyo-Matsuyama Domain under the Tokugawa shogunate. A jōkamachi developed around Matsuyama Castle, and this is the core of the modern city. The city was established with the creation of the modern municipality system on December 15, 1889.