Please read the following table in HTML format from a webpage and then answer the question in detail according to the table. Each table cell is defined by a <td> and a </td> tag. Each table row starts with a <tr> and ends with a </tr> tag. 'rowspan=m' and 'colspan=n' represents a cell spaning over 'm' rows and 'n' columns.

Webpage title:
James P. Gleason
Table title:
1970
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=2 rowspan=1 > Party </th><th colspan=1 rowspan=1 > Candidate </th><th colspan=1 rowspan=1 > Votes </th><th colspan=1 rowspan=1 > % </th></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Republican </td><td class="highlighted"  colspan=1 rowspan=1 > James P. Gleason </td><td colspan=1 rowspan=1 > 77,483 </td><td class="highlighted"  colspan=1 rowspan=1 > 50.1 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Democratic </td><td class="highlighted"  colspan=1 rowspan=1 > William W. Greenhalgh </td><td colspan=1 rowspan=1 > 77,063 </td><td class="highlighted"  colspan=1 rowspan=1 > 49.9 </td></tr>
</table>
Question:
Who were the two candidates during the 1970 election, and what percentage of vote did each get?
Answer:
Gleason won the election with 50.1 percent of the vote to Greenhalgh's 49.9 percent.