The Treaty of Portsmouth formally ended the 1904–1905 Russo-Japanese War. It was signed on 5 September 1905 after negotiations at the Portsmouth Naval Shipyard in Kittery, Maine in the United States. It was named after nearby Portsmouth, New Hampshire. US President Theodore Roosevelt got the Nobel Peace Prize for helping the negotiations.