In the 18th century, Edo became the capital of Japan. During this time, it enjoyed a long period of peace, called the Pax Tokugawa.