<table>
<thead>
<tr>
<th>#</th>
<th>President</th>
<th>President's Party</th>
<th>Senate with</th>
<th>Senate opposed</th>
<th>House with</th>
<th>House opposed</th>
<th>Years served</th>
<th>Elections won</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>George Washington</td>
<td>Federalist-leaning</td>
<td>8</td>
<td>0</td>
<td>6</td>
<td>2</td>
<td>8</td>
<td>2</td>
</tr>
<tr>
<td>2</td>
<td>John Adams</td>
<td>Federalist</td>
<td>4</td>
<td>0</td>
<td>4</td>
<td>0</td>
<td>4</td>
<td>1</td>
</tr>
<tr>
<t