Let me begin by congratulating you on the cautious chest and admirable temperament with which you have looked at the treatment of the Japanese on the coast. I had a conversation with the Japanese ambassador before leaving for Panama; read to him what I had to say in my annual message, which he obviously liked very much; then told him that, in my opinion, the only way to avoid constant friction between the United States and Japan is to limit as much as possible the movement of citizens from each country to students, travelers, businessmen and others; Since no American workers were trying to get to Japan, it was necessary to prevent any immigration of Japanese workers – that is, the Coolie class – to the United States; that I sincerely hoped that his government would prevent their coolies, all their workers, from coming to the United States or Hawaii. He shared this view from the bottom of his heart, saying that he had always been against allowing Japanese coolies to go to America or Hawaii. I hope my message will soothe their feelings so that the government tacitly stops all immigration of coolies into our country. Either way, I will do my best to make that happen. Japan was willing to limit immigration to the United States, but was deeply violated by San Francisco`s discriminatory law, which specifically targeted its population. President Roosevelt, who wanted to maintain good relations with Japan as a counterweight to Russian expansion in the Far East, intervened. While the U.S. ambassador reassured the Japanese government, Roosevelt summoned the mayor and school board of San Francisco to the White House in February 1907 and persuaded them to repeal the segregation order, promising that the federal government itself would address the immigration issue. On February 24, the gentlemen`s agreement with Japan was reached in the form of a Japanese note agreeing to deny passports to workers who wished to enter the United States and to recognize the U.S. right to exclude Japanese immigrants who hold passports originally issued in other countries. This was followed by the official withdrawal of the San Francisco School Board`s ordinance on March 13, 1907. A final Japanese note dated February 18, 1908 made the gentlemen`s agreement fully effective.