The shogunate was overthrown in 1867 by supporters of Emperor Meiji. The following year, the emperor moved his court from Kyōto to Edo and renamed it Tōkyō: the Eastern Capital.