next year, on march 31st 1854, perry came with seven ships and the japanese signed a treaty (known as the convention of kanagawa) that established a diplomatic relationship with the united states. another treaty (known as the harris treaty) was signed with the united states on july 29th 1858. this treaty gave more facilities to foreigners coming to japan and expanded trade with japan. many japanese were not happy with reopening diplomatic relations and trade with other countries.