Republicans made modest gains in U.S. midterm elections but Democrats performed better than expected, as control of the Senate hinged on three races that remained too close to call on Wednesday afternoon.

The Georgia U.S. Senate race between Democratic incumbent Raphael Warnock and Republican Herschel Walker will go to a Dec. 6 runoff, Edison Research projected. That means it could be weeks until control of that chamber is known, unless Democrats hold off challengers in Nevada and Arizona.

Republicans picked up at least eight seats in the U.S. House of Representatives, Edison Research projected. That would be three more than needed to wrest control of the chamber from Democrats, though with 44 races still uncalled the Republican margin could go up or down and might not be resolved for days.