US President Theodore Roosevelt did not want to anger Japan by passing legislation to bar Japanese immigration to the US, as had been done for Chinese immigration. Instead, there was an informal "Gentlemen's Agreement" (1907–8) between the United States and Japan, whereby Japan made sure there was very little or no movement to the US. The agreements were made by Secretary of State, Elihu Root, and Japan's Foreign Minister, Tadasu Hayashi.