It is believed that goin (a palace for the retired Emperor) called Shogakuin was located in the area of Saiin Matsui-cho and the Emperor Junna's nyoin (close female relatives of the Emperor) constructed a temple for their secluded life in the same area and named it Matsu-in.
また、西院松井町の域内にはかつて後院（天皇の隠居所）としての奨学院が存在し、淳和天皇の女院が隠棲の寺をその域内に建立してこれを松院と称したという。