After the battle of Sekigahara (1600), Tokugawa Ieyasu held power; in 1603 he became sei-i taishōgun and seated his bakufu at Edo (Tokyo); the 1615 Osaka campaigns destroyed the Toyotomi and unified the country. Under the bakuhan order the emperor kept a ceremonial seat in Kyoto while the shogun ruled four million koku directly and the daimyō - hereditary vassals and outer lords - held their domains; the four-class order of warrior, farmer, artisan and merchant stood rigid, and the sankin kōtai attendance system drained the lords' wealth. Under the seclusion laws of the 1630s only Nagasaki traded, with the Dutch and the Chinese; peace lasted over two centuries, and Genroku culture - ukiyo-e prints, kabuki, haikai poetry - grew alongside Shingaku ethics and Dutch-learning. The Black Ships of 1853 forced the country open; sonnō-jōi militants and court-shogunate compromise tore the twilight years until the 1867 restoration of government to the throne and the 1868 Boshin War ended the Edo bakufu - fifteen shoguns, two hundred and sixty-five years.