The Gentleman's Agreement of 1907 was an informal arrangement between the U.S. and Japan where Japan agreed to limit the emigration of Japanese laborers to the U.S. in exchange for the end of segregation of Japanese students in San Francisco schools.