Yamashiro Province (, Yamashiro no Kuni) was a province of Japan, located in Kinai. It overlaps the southern part of modern Kyoto Prefecture on Honsh?. Aliases include J?sh? (), the rare Sansh? (), and Y?sh? (). It is classified as an upper province in the Engishiki.
Yamashiro Province included Kyoto itself, as in 794 AD Yamashiro became the seat of the imperial court, and, during the Muromachi period, was the seat of the Ashikaga shogunate as well. The capital remained in Yamashiro until its de facto move to Tokyo in the 1870s.
"Yamashiro" was formerly written with the characters meaning "mountain" (?) and "era" (?); in the 7th century, there were things built listing the name of the province with the characters for "mountain" and "ridge"/"back" (???). On 4 December 794 (8 Shimotsuki, 13th year of Enryaku), at the time of the establishment of Heian-ky?, because Emperor Kanmu made his new capital utilize the surroundings as natural fortification, the character for shiro was finally changed to "castle" (???). Later shiro from the province name replaced the older ki as the Japanese reading for the character ?.
Just from Nara period writings, it is apparent that the "area" () and "ridge" () listings coexisted.
The provincial capital, according to the Wamy? Ruijush?, was Kaya Imperial Villa (?, Kaya Riky?).
As for the shugos mansion, at first, Yamashiro Province shugo and Kyoto shugo were concurrent posts, so the Kyoto shugo's kogenins mansion had to be allotted. Afterwards, the Rokuhara Tandai came to be an additional post, and that became the shugo as well. In the Muromachi period, Yamashiro Province was divided with the Uji River as the border into two districts, and each came to be assigned a shugo, so one shugo resided in Uji Makishima, whereas the other resided in various places around Yodo and such.
The provincial temples included those where the resident chief priest was a man, and those where it was a woman in S?raku District. Kuni no Miya's Daigokuden was made a temple in 746. It was destroyed by fire in 882, and the rebuilding afterwards would decline. In the Kamakura period, it came to be a branch temple of By?d?-in. The location is in modern Kizugawa city, coinciding with Kamo. In 1925, a large number of old tiles were excavated near the provincial temple, and it is thought that these once belonged to the convent.
Yamashiro's ichinomiya designation differed from other provinces', likely due to the Jingi-kan; from nearly the end of the 11th century, when the primary shrines were being established in each of the various provinces, it is thought that in Kinai, it was decided on after the turn on the 12th century. There were no ninomiya (secondary shrines). It is unknown whether there were any s?ja.
Media related to Yamashiro Province at Wikimedia Commons