The Republicans have also gained control of the Senate from the Democrats.