The Jidai Matsuri (時代祭) is a festival that takes place every year on October 22, the anniversary of the foundation of Kyoto. It consists of a large parade that travels from the Imperial Palace to Heian Shrine. Jidai Matsuri is Japanese for "Festival of Ages", and the participants of the parade are dressed in accurate costumes from almost every period of Japanese history, as well as famous historical figures. There are about 2000 participants and it takes two hours to watch the entire procession pass by. The Jidai Matsuri is held by Heian Shrine, and both the festival and the shrine were established in 1895 to celebrate Kyoto's history and culture. A few years before in 1868, the capital was moved to Tokyo after having been in Kyoto for over a thousand years. Despite its short history, the Jidai Matsuri is one of Kyoto's three most famous festivals, along with the Gion Matsuri in July and the Aoi Matsuri in May. The historical costumes and characters that are displayed in the parade cover over 1100 years history during which Kyoto was the national capital.