Republicans also won control of the U.S. Senate for the first time in four years.