Question: who has had control of the house and senate
Answer: President President 's Party Senate with Senate opposed House with House opposed Congress with Congress opposed Congress divided Years served Elections won George Washington None 8 0 6 6 0 8 John Adams Federalist 0 0 0 0 Thomas Jefferson Democratic - Republican 8 0 8 0 8 0 0 8 James Madison Democratic - Republican 8 0 8 0 8 0 0 8 James Monroe Democratic - Republican 8 0 8 0 8 0 0 8 6 John Quincy Adams Democratic - Republican 0 0 7 Andrew Jackson Democratic 8 0 8 0 8 0 0 8 8 Martin Van Buren Democratic 0 0 0 0 9 William Harrison Whig 0.