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:
Emily Brewer
Table title:
Electoral History
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Date </th><th colspan=1 rowspan=1 > Election </th><th colspan=1 rowspan=1 > Candidate </th><th colspan=1 rowspan=1 > Party </th><th colspan=1 rowspan=1 > Votes </th><th colspan=1 rowspan=1 > % </th></tr>
<tr> <th class="highlighted"  colspan=1 rowspan=2 > June 13, 2017 </th><th class="highlighted"  colspan=1 rowspan=2 > Republican Primary </th><th class="highlighted"  colspan=1 rowspan=1 > Emily M. Brewer </th><td colspan=1 rowspan=1 > Republican </td><th class="highlighted"  colspan=1 rowspan=1 > 4,418 </th><th colspan=1 rowspan=1 > 60.86% </th></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > Rex W. Alphin </td><td colspan=1 rowspan=1 > Republican </td><td class="highlighted"  colspan=1 rowspan=1 > 2,841 </td><td colspan=1 rowspan=1 > 39.14% </td></tr>
<tr> <td colspan=6 rowspan=1 > Incumbent Rick Morris (R) did not seek reelection. </td></tr>
<tr> <td colspan=1 rowspan=3 > Nov. 7, 2017 </td><td colspan=1 rowspan=3 > General Election </td><td colspan=1 rowspan=1 > Emily M. Brewer </td><td colspan=1 rowspan=1 > Republican </td><td colspan=1 rowspan=1 > 19,223 </td><td colspan=1 rowspan=1 > 62.41% </td></tr>
<tr> <td colspan=1 rowspan=1 > Rebecca S. Colaw </td><td colspan=1 rowspan=1 > Democrat </td><td colspan=1 rowspan=1 > 11,551 </td><td colspan=1 rowspan=1 > 37.50% </td></tr>
<tr> <td colspan=2 rowspan=1 > Write-Ins </td><td colspan=1 rowspan=1 > 25 </td><td colspan=1 rowspan=1 > 0.08% </td></tr>
</table>
Question:
Who defeated Republican Emily M. Brewer in the Primary?
Answer:
In June 2017, Republican Primary Brewer defeated Rex W. Alphin.