Treaty of Portsmouth
Both sides accepted the offer of United States President Theodore Roosevelt to mediate. Meetings were held in Portsmouth, New Hampshire, with Sergei Witte leading the Russian delegation and Baron Komura leading the Japanese delegation. The Treaty of Portsmouth was signed on 5 September 1905 at the Portsmouth Naval Shipyard. Witte became Russian Prime Minister the same year.