The young prince was born into an era of great change in Japan. This change was symbolised dramatically in July 1853 when Commodore Matthew Perry and his American Naval squadron (what the Japanese dubbed "the Black Ships"), sailed into the harbour at Edo (known since 1868 as Tokyo). Perry sought to open Japan up to international trade and warned the Japanese of military consequences if they did not agree. For the first time in at least 250 years, the shogunate took the highly unusual step of consulting with the Imperial Court because of the crisis brought on by Perry's arrival. Emperor Kōmei's officials advised that they felt they should agree to trade with the Americans and asked that they be informed in advance of any steps to be taken upon Perry's return. The Japanese government decided that their military was no match for the American military and thus allowed trade and submitted to what it dubbed the "Unequal Treaties". "Unequal Treaties" meant giving up tariff authority and the right to try foreigners in its own courts. The shogunate's willingness to consult with the Court was short-lived: in 1858, word of a treaty arrived with a letter stating that due to shortness of time, it had not been possible to consult. Emperor Kōmei was so incensed that he threatened to abdicate—though even this action would have required the consent of the "shōgun".