 In 1879, advocates of immigration restriction succeeded in introducing and passing legislation in Congress to limit the number of Chinese arriving to fifteen per ship or vessel.Republican President Rutherford B. Hayes vetoed the bill because it violated U.S. treaty agreements with China.Nevertheless, it was still an important victory for advocates of exclusion.