After roughly two years of negotiations and difficulties, on [[1858]]/7/12 (July 29), he was finally able to convince the [[Tokugawa shogunate]] to agree to a treaty, opening a number of [[treaty ports|ports]] to US trade, and granting Americans a degree of [[extraterritoriality]], among other points. | After roughly two years of negotiations and difficulties, on [[1858]]/7/12 (July 29), he was finally able to convince the [[Tokugawa shogunate]] to agree to a treaty, opening a number of [[treaty ports|ports]] to US trade, and granting Americans a degree of [[extraterritoriality]], among other points. |