Delaware's swing to the Democrats is in part due to a strong Democratic trend in New Castle County, home to 55 percent of Delaware's population (the two smaller counties have only 359,000 people between them to New Castle County's 535,000). New Castle County has not voted Republican in a presidential election since 1988. In 1992, 2000, 2004, and 2016, the Republican presidential candidate carried both Kent and Sussex but lost by double digits each time in New Castle County, which was a large enough margin to swing the state to the Democrats. New Castle County also elects a substantial majority of the legislature; 27 of the 41 state house districts and 14 of the 21 state senate districts are based in New Castle County.