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:
Joseph A. Wright
Table title:
Electoral history
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 > Democratic </td><td class="highlighted"  colspan=1 rowspan=1 > Joseph A. Wright (incumbent) </td><td class="highlighted"  colspan=1 rowspan=1 > 95,576 </td><td colspan=1 rowspan=1 > 55.4 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Whig </td><td class="highlighted"  colspan=1 rowspan=1 > Nicholas McCarty </td><td class="highlighted"  colspan=1 rowspan=1 > 73,641 </td><td colspan=1 rowspan=1 > 42.7 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Free Soil </td><td class="highlighted"  colspan=1 rowspan=1 > James H. Cravens </td><td class="highlighted"  colspan=1 rowspan=1 > 3,308 </td><td colspan=1 rowspan=1 > 1.9 </td></tr>
</table>
Question:
How many votes did each candidates obtain and who won the election?
Answer:
Wright won with 95,576 votes to McCarty's 73,641, and Craven's 3,308.