But, as governor from 1839 to 1842, Seward incited the wrath of anti-immigrant and anti-Catholic Whigs by increasing funding for public education for all children, advocating citizenship for immigrants, and passing a state law giving fugitive slaves the right to a trial.