Polls have closed in the Rutherglen and Hamilton West by-election, with a result expected in the early hours of Friday.
The seat was vacated when former SNP MP Margaret Ferrier was ousted in a recall petition.
Ms Ferrier was kicked out of the party for breaching Covid regulations by travelling between London and Glasgow after testing positive for the virus.
Speculation about her position followed by the recall petition and subsequent ballot have led to months of campaigning in the seat.
The election was the first in Scotland to require voters to show photo ID before they are allowed to cast their ballot following a change in Westminster legislation that governs Westminster elections.
Polling stations were open between 7am and 10pm on Thursday, and counting will be conducted overnight at the headquarters of South Lanarkshire Council in Hamilton.
SNP candidate Katy Loudon is up against Labour’s Michael Shanks and Tory hopeful Thomas Kerr in the by-election.
Cameron Eadie and Gloria Adebo are running for the Greens and Scottish Liberal Democrats, respectively.
:: Bill Bonnar – Scottish Socialist Party
:: Garry Cooke – independent
:: Andrew Daly – independent
:: Emperor of India, Prince Ankit Love – independent
:: Niall Fraser – Scottish Family Party
:: Ewan Hoyle – Volt UK
:: Christopher Sermanni – Scottish Trade Unionist and Socialist Coalition
:: David Stark – Reform UK
:: Colette Walker – Independence for Scotland Party