Though there were many similarities between China and Japan—the Tokugawa shogunate had also banned overseas trade in the seventeenth century, as Chinese emperors had done earlier, and were opposed to economic and political change—there were also notable political differences. China was a centralized bureaucratic empire ruled by an absolute emperor.