Romney also said during the primary campaign that he would seek to make the U.S. a much less hospitable place for undocumented immigrants by eliminating what he called the magnets that attract them. An example of a magnet, he said, would be offering to undocumented immigrants the same tuition discounts that are offered to legal residents who attend public colleges in their states, a benefit that rival candidate Governor Rick Perry supported for Texas students who had been brought as children to the U.S. by their undocumented immigrant parents. Romney similarly said that he opposed all forms of amnesty because he regards amnesty as another magnet for illegal immigration. He vowed that as president he would veto the DREAM Act (legislation which would allow individuals who had been brought to the U.S. as children when their families immigrated illegally an opportunity to qualify for permanent residency if they met certain qualifications), because he considered it yet another magnet for illegal immigration.