On September 5, 1905, representatives from Russia and Japan signed the Treaty of Portsmouth, which ended the Russo-Japanese War. U.S. president Theodore Roosevelt mediated the treaty, which was signed aboard his yacht.