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:
Ayr, Carrick and Cumnock (UK Parliament constituency)
Table title:
2017
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 class="highlighted"  colspan=1 rowspan=1 > Conservative </td><td class="highlighted"  colspan=1 rowspan=1 > Bill Grant </td><td class="highlighted"  colspan=1 rowspan=1 > 18,550 </td><td colspan=1 rowspan=1 > 40.1 </td><td colspan=1 rowspan=1 > +20.3 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td class="highlighted"  colspan=1 rowspan=1 > SNP </td><td class="highlighted"  colspan=1 rowspan=1 > Corri Wilson </td><td class="highlighted"  colspan=1 rowspan=1 > 15,776 </td><td colspan=1 rowspan=1 > 34.1 </td><td colspan=1 rowspan=1 > 14.7 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Labour </td><td colspan=1 rowspan=1 > Carol Mochan </td><td colspan=1 rowspan=1 > 11,024 </td><td colspan=1 rowspan=1 > 23.9 </td><td colspan=1 rowspan=1 > 3.4 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > Liberal Democrat </td><td colspan=1 rowspan=1 > Callum Leslie </td><td colspan=1 rowspan=1 > 872 </td><td colspan=1 rowspan=1 > 1.9 </td><td colspan=1 rowspan=1 > +0.2 </td></tr>
<tr> <th colspan=3 rowspan=1 > Majority </th><td colspan=1 rowspan=1 > 2,774 </td><td colspan=1 rowspan=1 > 6.0 </td><td colspan=1 rowspan=1 > N/A </td></tr>
<tr> <th colspan=3 rowspan=1 > Turnout </th><td colspan=1 rowspan=1 > 46,296 </td><td colspan=1 rowspan=1 > 64.9 </td><td colspan=1 rowspan=1 > 6.6 </td></tr>
<tr> <td colspan=1 rowspan=1 >  </td><td colspan=2 rowspan=1 > Conservative gain from SNP </td><th colspan=1 rowspan=1 > Swing </th><td colspan=1 rowspan=1 > +17.5 </td><td colspan=1 rowspan=1 >  </td></tr>
</table>
Question:
Who won the most votes in the 2017 election, and what was the margin to the nearest opponent?
Answer:
Bill Grant of the Conservatives gained the seat at the 2017 election with a majority of 2,774 votes over Corri Wilson of the SNP.