There were multiple countries but the most famous was China. In the 1880s, all immigration from China was put to an end, while Japanese were not forbidden, but were not encouraged since Japan's government didn't allow them according to the Gentleman's Act. This was out of fear of too many coming in and ruining the job market.