The SNP’s Corri Wilson has been elected as MP for the Ayr, Carrick and Cumnock seat.
Mrs Wilson will join 55 other SNP members of parliament after a Scottish landslide for the party.
Eileen Howat, Returning Officer for the Ayr, Carrick and Cumnock constituency declared the result at around 4.30am at the County Buildings in Ayr.
In a tournout of 71.6 per cent Corri Wilson gained 25,492 votes ahead of previous encumbent, Labour’s Sandra Osborne, who polled 14,227 votes.
Third was Scott lee Lyons of the Conservatives on 10,355. Joseph-William Adam Smith of UKIP polled 1,280 and Richard Brodie of the Liberal Democrats won 855 votes.