Early discontent against the shogunate For the two centuries prior to 1854, Japan had a strict policy of
isolationism, restricting all interactions with foreign powers, with the notable exceptions of
Joseon Korea via
Tsushima,
Qing China via the
Ryukyu Islands, and the
Dutch through the trading post of
Dejima. In 1854, the
United States Navy Commodore Matthew C. Perry's
expedition opened Japan to global commerce through the implied threat of force, thus initiating rapid development of foreign trade and
Westernization. In large part due to the humiliating terms of the
unequal treaties, as agreements like those negotiated by Perry are called, the
Tokugawa shogunate soon faced internal dissent, which coalesced into a radical movement, the
sonnō jōi (meaning "revere the Emperor, expel the barbarians"). , Japan's first screw-driven steam warship, 1855. The shogunate pursued modernization, but was faced by growing internal discontent against the harm to national sovereignty brought on by contact with Westerners.
Emperor Kōmei agreed with such sentiments and, breaking with centuries of Imperial tradition, began to take an active role in matters of state: as opportunities arose, he vehemently protested against the treaties and attempted to interfere in the shogunal succession. His efforts culminated in March 1863 with his "
order to expel barbarians". Although the shogunate had no intention of enforcing it, the order nevertheless inspired attacks against the shogunate itself and against foreigners in Japan: the most famous incident was that of the English trader
Charles Lennox Richardson, for whose death the Tokugawa government had to pay an
indemnity of one hundred thousand
British pounds. Other attacks included the shelling of foreign shipping in the port of
Shimonoseki. In 1863 and 1864, these actions were successfully countered by armed retaliations by foreign powers, such as the British
bombardment of Kagoshima and the multinational
Shimonoseki campaign. On 20 August 1864, the forces of
Chōshū Domain, together with
rōnin, raised the
Hamaguri rebellion trying to seize the city of
Kyoto, where the Emperor's court was, but were repelled by shogunate forces under the future
shōgun Tokugawa Yoshinobu. The shogunate further ordered a
punitive expedition against Chōshū, the
First Chōshū expedition, and obtained Chōshū's submission without actual fighting. At this point the initial resistance among the leadership in Chōshū and the Imperial Court subsided, but over the next year the Tokugawa proved unable to reassert full control over the country as most
daimyōs began to ignore orders and questions from the Tokugawa seat of power in
Edo.
Foreign military assistance troops near
Mount Fuji in 1867. The painting by French officer
Jules Brunet shows an eclectic combination of Western and Japanese equipment. The Shogun had sought French assistance for training and weaponry since 1865. Léon Roches, French consul to Japan, supported the Shogunal military reform efforts to promote French influence, hoping to make Japan into a dependent client state. This caused the British to send their own military mission to compete with the French. Despite the bombardment of Kagoshima, the
Satsuma Domain had become closer to the British and was pursuing the modernization of its army and navy with their support. In preparation for future conflict, the shogunate also modernized its forces. In line with Parkes's strategy, the British, previously the shogunate's primary foreign partner, proved reluctant to provide assistance. The Tokugawa thus came to rely mainly on French expertise, comforted by the military prestige of
Napoleon III at that time, acquired through his successes in the
Crimean War and the
Second Italian War of Independence. The shogunate took major steps towards the construction of a modern and powerful military: a navy with a core of eight steam warships had been built over several years and was already the strongest in
Asia. In 1865, Japan's first modern naval
arsenal was built in
Yokosuka by the French engineer
Léonce Verny. In January 1867, a French military mission arrived to reorganize the shogunate army and create the
Denshūtai elite force, and an order was placed with the US to buy the French-built
ironclad warship CSS Stonewall, which had been built for the
Confederate States Navy during the
American Civil War. Due to the Western powers' declared neutrality, the US refused to release the ship, but once neutrality was lifted, the imperial faction obtained the vessel and employed it in engagements in Hakodate under the name
Kōtetsu ("Ironclad"). On November 9, 1867, a secret order was created by Satsuma and Chōshū in the name of Emperor Meiji commanding the "slaughtering of the traitorous subject Yoshinobu". Just prior to this, however—and following a proposal from the
daimyō of the
Tosa Domain—Yoshinobu resigned his post and authority to the emperor, agreeing to "be the instrument for carrying out" imperial orders. This ended the Tokugawa shogunate. While Yoshinobu's resignation had created a nominal void at the highest level of government, his apparatus of state continued to exist. Moreover, the shogunate government, the Tokugawa family in particular, remained a prominent force in the evolving political order and retained many executive powers. Satow speculated that Yoshinobu had agreed to an assembly of
daimyōs on the hope that such a body would restore him, a prospect hard-liners from Satsuma and Chōshū found intolerable. Events came to a head on January 3, 1868, when these elements seized the imperial palace in Kyoto, and the following day had the fifteen-year-old Emperor Meiji declare his own restoration to full power. Although the majority of the imperial consultative assembly representing all the domains was happy with the formal declaration of direct rule by the imperial court and tended to support a continued collaboration with the Tokugawa (under the concept of ),
Saigō Takamori threatened the assembly into abolishing the title "
shōgun" and ordering the confiscation of Yoshinobu's lands. Although he initially agreed to these demands, on January 17, 1868, Yoshinobu declared that he would not be bound by the Restoration proclamation and called for its repeal. On January 24, he decided to prepare an attack on Kyoto, which was occupied by Satsuma and Chōshū forces. This decision was prompted by his learning of a series of arsons in Edo, starting with the burning of the outer works of
Edo Castle, the main Tokugawa residence. This was blamed on Satsuma
rōnin, who on that day attacked a government office. The next day shogunate forces responded by attacking the Edo residence of the
daimyō of Satsuma, where many opponents of the shogunate, under Saigo's direction, had been hiding and creating trouble. The residence was burned down, and many opponents killed or later executed. ==Weapons and uniforms==