Trade became much more prevalent between the US and Japan. Perry, as part of his demands, wanted the opening of two ports in Japan, and the shogunate acceded to those conditions. Later, more ports were opened and foreign travelers allowed to reside in some Japanese cities.