Presidents of the United States and control of Congress

Table columns:
No.
President
President's Party
President's Party.1
Senate with
Senate opposed
House with
House opposed
Congress with
Congress opposed
Congress divided
Years served
Elections won

Table rows:
cells: 1
George Washington
None
None
8
0
6
2
6
0
2
8
2
cells: 2
John Adams
Federalist
Federalist
4
0
4
0
4
0
0
4
1
cells: 3
Thomas Jefferson
Democratic-Republican
Democratic-Republican
8
0
8
0
8
0
0
8
2
cells: 4
James Madison
Democratic-Republican
Democratic-Republican
8
0
8
0
8
0
0
8
2
cells: 5
James Monroe
Democratic-Republican
Democratic-Republican
8
0
8
0
8
0
0
8
2
cells: 6
John Quincy Adams
Democratic-Republican
Democratic-Republican
0
4
2
2
0
2
2
4
1
cells: 7
Andrew Jackson
Democratic
Democratic
8
0
8
0
8
0
0
8
2
cells: 8
Martin Van Buren
Democratic
Democratic
4
0
4
0
4
0
0
4
1
cells: 9
William Harrison
Whig
Whig
0.1
0
0.1
0
0.1
0
0
0.1
1
cells: 10
John Tyler
Whig
Independent
4
0
2
2
2
0
2
4
0
cells: 11
James Polk
Democratic
Democratic
4
0
2
2
2
0
2
4
1
cells: 12
Zachary Taylor
Whig
Whig
0
1
0
1
0
1
0
1
1
cells: 13
Millard Fillmore
Whig
Whig
0
3
0
3
0
3
0
3
0
cells: 14
Franklin Pierce
Democratic
Democratic
4
0
2
2
2
0
2
4
1
cells: 15
James Buchanan
Democratic
Democratic
4
0
2
2
2
0
2
4
1
cells: 16
Abraham Lincoln
Republican
National Union
4
0
4
0
4
0
0
4
2
cells: 17
Andrew Johnson
National Union
National Union
0
4
0
4
0
4
0
4
0
cells: 18
Ulysses Grant
Republican
Republican
8
0
6
2
6
0
2
8
2
cells: 19
Rutherford Hayes
Republican
Republican
2
2
0
4
0
2
2
4
1
cells: 20
James Garfield
Republican
Republican
0
0.5
0.5
0
0
0
0.5
0.5
1
cells: 21
Chester Arthur
Republican
Republican
4
0
2
2
2
0
2
4
0
cells: 22
Grover Cleveland
Democratic
Democratic
0
4
4
0
0
0
4
4
1
cells: 23
Benjamin Harrison
Republican
Republican
4
0
2
2
2
0
2
4
1
cells: 24
Grover Cleveland
Democratic
Democratic
2
2
2
2
2
2
0
4
1
cells: 25
William McKinley
Republican
Republican
4.5
0
4.5
0
4.5
0
0
4.5
2
cells: 26
Theodore Roosevelt
Republican
Republican
7.5
0
7.5
0
7.5
0
0
7.5
1
cells: 27
William Taft
Republican
Republican
4
0
2
2
2
0
2
4
1
cells: 28
Woodrow Wilson
Democratic
Democratic
6
2
6
2
6
2
0
8
2
cells: 29
Warren Harding
Republican
Republican
2
0
2
0
2
0
0
2
1
cells: 30
Calvin Coolidge
Republican
Republican
6
0
6
0
6
0
0
6
1
cells: 31
Herbert Hoover
Republican
Republican
4
0
2
2
2
0
2
4
1
cells: 32
Franklin Roosevelt
Democratic
Democratic
12
0
12
0
12
0
0
12.1
4
cells: 33
Harry Truman
Democratic
Democratic
6
2
6
2
6
2
0
7.8
1
cells: 34
Dwight Eisenhower
Republican
Republican
2
6
2
6
2
6
0
8
2
cells: 35
John Kennedy
Democratic
Democratic
2.8
0
2.8
0
2.8
0
0
2.8
1
cells: 36
Lyndon Johnson
Democratic
Democratic
5.2
0
5.2
0
5.2
0
0
5.2
1
cells: 37
Richard Nixon
Republican
Republican
0
5.6
0
5.6
0
5.6
0
5.6
2
cells: 38
Gerald Ford
Republican
Republican
0
2.4
0
2.4
0
2.4
0
2.4
0
cells: 39
Jimmy Carter
Democratic
Democratic
4
0
4
0
4
0
0
4
1
cells: 40
Ronald Reagan
Republican
Republican
6
2
0
8
0
2
6
8
2
cells: 41
George H. W. Bush
Republican
Republican
0
4
0
4
0
4
0
4
1
cells: 42
Bill Clinton
Democratic
Democratic
2
6
2
6
2
6
0
8
2
cells: 43
George W. Bush
Republican
Republican
4.5
3.5
6
2
4.5
2
1.5
8
2
cells: 44
Barack Obama
Democratic
Democratic
6
2
2
6
2
2
4
8
2
cells: 45
Donald Trump
Republican
Republican
2
0
2
0
2
0
0
1
1
cells: No.
President
President's Party
President's Party
Senate with
Senate opposed
House with
House opposed
Congress with
Congress opposed
Congress divided
Years served
Elections won

Questions about this table:
originalText: who has had control of the house and senate
answer: answerTexts: Republican