Japan
The 1907 Immigration Act contained an agreement with Japan to stop immigration of Japanese workers to the US in exchange for anti-discrimination policies in the US toward the Japanese already living there.
This policy reflected the growing nativism and dislike for immigrants. The Act included restrictions on immigrant numbers and also increased the tax for new immigrants arriving to the US.