Voters in the northern and central parts of the state backed two Democrats to fill a vacancy in the Senate and an open seat in the House of Delegates.