Democratic Party gains