On both of his Philippine trips as Secretary of War, Taft went to Japan, and met with officials there. The meeting in July 1905 came a month before the Portsmouth Peace Conference, which would end the Russo-Japanese War with the Treaty of Portsmouth. Taft met with Japanese Prime Minister Katsura Tarō. After that meeting, the two signed a memorandum. It contained nothing new but instead reaffirmed official positions: Japan had no intention to invade the Philippines, and the U.S. that it did not object to Japanese control of Korea. There were U.S. concerns about the number of Japanese laborers coming to the American West Coast, and during Taft's second visit, in September 1907, Tadasu Hayashi, the foreign minister, informally agreed to issue fewer passports to them.