After the 2002 elections, Democrats had control of the Illinois House, Senate, and all but one statewide office. While in office, Blagojevich signed progressive legislation such as ethics reform, death penalty reform, a state Earned Income Tax Credit, a statewide comprehensive smoking ban and expansions of health programs like KidCare and FamilyCare (FamilyCare was ruled unconstitutional). Blagojevich signed a bill in 2005 that prohibited discrimination based on sexual orientation in employment, housing, public accommodations, and credit. Blagojevich originally campaigned against pork barrel spending, but eventually used it himself to gain more votes for bills.