Navy's HMS Mariner entered Uraga Harbour to conduct a topographical survey. Onboard was the Japanese castaway Otokichi, who acted as a translator. To avoid problems with the Japanese authorities, he disguised himself as Chinese, and said that he had learned Japanese from his father, allegedly a businessman who had worked in relation with Nagasaki. In 1853, the Russian embassy of Yevfimy Putyatin arrived in Nagasaki (August 12, 1853). The embassy demonstrated a steam engine, which led to the first recorded attempts at manufacturing a steam engine in Japan, by Hisashige Tanaka in 1853. These largely unsuccessful attempts continued until July 8, 1853, when Commodore Matthew Perry of the U.S. Navy with four warships: Mississippi, Plymouth, Saratoga, and Susquehanna steamed into the Bay of Edo (Tokyo) and displayed the threatening power of his ships' Paixhans guns. He demanded that Japan open to trade with the West. These ships became known as the , the Black Ships. End of isolationism The following year, at the Convention of Kanagawa (March 31, 1854), Perry returned with eight ships and forced the Shogun to sign the "Treaty of Peace and Amity", establishing formal diplomatic relations between Japan and the United States. The United Kingdom signed the Anglo-Japanese Friendship Treaty at the end of 1854. Between 1852 and 1855, Admiral Yevfimiy Putyatin of the Russian Navy made several attempts to obtain from the Shogun favourable trade terms for Russia. In June 1853, he brought to Nagasaki Bay a letter from the Foreign Minister Karl Nesselrode and demonstrated to Tanaka Hisashige a steam engine, probably the first ever seen in Japan. His efforts culminated in the signing of the Treaty of Shimoda in February 1855. Within five years, Japan had signed similar treaties with other western countries. The Harris Treaty was signed with the United States on July 29, 1858. These "Ansei Treaties" were widely regarded by Japanese intellectuals as unequal, having been forced on Japan through gunboat diplomacy, and as a sign of the West's desire to incorporate Japan into the imperialism that had been taking hold of the continent. Among other measures, they gave the Western nations unequivocal control of tariffs on imports and the right of extraterritoriality to all their visiting nationals. They would remain a sticking point in Japan's relations with the West up to the turn of the 20th century. Missions to the West Several missions were sent abroad by the ,