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.