 Dallas County has three openly LGBT elected county officials.Lupe Valdez elected Sheriff in 2004 and a candidate for reelection in 2012; Jim Foster, elected county judge in 2006 serving one term then defeated in the Democratic primary in 2010; and Gary Fitzsimmons, elected District Clerk in 2006.Although Dallas County has become much friendlier to Democrats in Presidential and Senate elections since 1992, it remains a mostly Republican county in the U.S. House of Representatives and the Texas Legislature as a result of the legislature having engaged in what a federal district court has found to be illegal gerrymandering the districts to pack heavily Democratic non-whites into very few districts and split the rest of them with more conservative white areas in Dallas and surrounding counties.