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:
1887 North Antrim by-election
Table title:

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><th colspan=1 rowspan=1 > ± </th></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Irish Unionist </td><td class="highlighted"  colspan=1 rowspan=1 > Charles Lewis </td><td class="highlighted"  colspan=1 rowspan=1 > 3,858 </td><td colspan=1 rowspan=1 > 56.7 </td><td colspan=1 rowspan=1 > 13.2 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td class="highlighted"  colspan=1 rowspan=1 > Liberal </td><td class="highlighted"  colspan=1 rowspan=1 > Samuel Craig McElroy </td><td class="highlighted"  colspan=1 rowspan=1 > 2,526 </td><td colspan=1 rowspan=1 > 37.1 </td><td colspan=1 rowspan=1 > +7.0 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td class="highlighted"  colspan=1 rowspan=1 > Independent Unionist </td><td class="highlighted"  colspan=1 rowspan=1 > William Atcheson Traill </td><td class="highlighted"  colspan=1 rowspan=1 > 424 </td><td colspan=1 rowspan=1 > 6.2 </td><td colspan=1 rowspan=1 > N/A </td></tr>
<tr> <th colspan=3 rowspan=1 > Majority </th><td colspan=1 rowspan=1 > 1,332 </td><td colspan=1 rowspan=1 > 19.6 </td><td colspan=1 rowspan=1 > 20.1 </td></tr>
<tr> <th colspan=3 rowspan=1 > Turnout </th><td colspan=1 rowspan=1 > 6,808 </td><td colspan=1 rowspan=1 > 71.6 </td><td colspan=1 rowspan=1 > +0.8 </td></tr>
<tr> <th colspan=3 rowspan=1 > Registered electors </th><td colspan=1 rowspan=1 > 9,505 </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=2 rowspan=1 > Irish Unionist hold </td><th colspan=1 rowspan=1 > Swing </th><td colspan=1 rowspan=1 > 10.1 </td><td colspan=1 rowspan=1 >  </td></tr>
</table>
Question:
How many votes did each party's candidate get in the 1887 North Antrim by-election?
Answer:
In the by-election three candidates were nominated: Charles Lewis from the Irish Unionist was elected, with 3,858 votes; S C McElroy, a Liberal, received 2,526; and W. A. Traill (Independent Unionist) received 424.