As Governor, in 2011 he signed a law that would make certain undocumented immigrants eligible for in-state college tuition on condition; and in 2012, he signed a law to legalize same-sex marriage in Maryland. Each law was challenged to a voter referendum in the 2012 general election and upheld by a majority of the voting public.