Answer:
He was sent to force Japan's policy of over 200 years of isolation to open ports in Japan so it was possible to trade with the western world.