Edo period in Japan lasted from 1603 to 1867/1868. During this time the country was ruled by the Tokugawa shogunate.