What was Commodore Perry sent to do?

Commodore Perry was sent by the United States government to establish trade relations with Japan and open up ports for American ships.