The SNP has won the Airdrie and Shotts by-election, with Anum Qaisar-Javed elected as the new MP to serve the North Lanarkshire area.
Qaisar-Javed took first place in the contest ahead of Scottish Labour 's Kenneth Stevenson who managed to reduced the SNP's majority.
The vote was triggered by former MP Neil Gray who decided to run for Holyrood in last week's election for the Nationalists.
After he was elected to the corresponding constituency last Friday, Qaisar-Javed, 28, retained the seat he had held - albeit with a majority down on the 5,201 held by Gray in 2019.
She polled 10,129 votes, ahead of Stevenson who managed 8,372 votes, a majority of 1,757.
Tory candidate Ben Callaghan secured 2,812 votes, with Liberal Democrat Stephen Arrundale fourth with 220 votes.
Turnout in the election was 34.3%, with Qaisar-Javed saying this was "low" but adding she was proud of the SNP's record in the area and "proud to be elected as the MP for Airdrie and Shotts".
Her election came as the Scottish Parliament saw its most diverse group of MSPs ever sworn in, with women of colour elected to Holyrood for the first time.
Qaisar-Javed, a modern studies teacher, said she taught her students about the reasons why there are fewer people from minority communities in politics.
She said: "We talk about reasons such as a lack of role models, and it has taken till 2021, but now we have two women of colour in the Scottish Parliament.
"But I don't just want women of colour to look at me, or people of colour, I want anyone from any minority group to be able to look at me and say 'if she can do it, so can I'."
In a speech made after votes were counted at the Ravenscraig Regional Sports Facility in Motherwell, she promised she would "fight for independence".
She added: "The initial priority has to be the Covid recovery, we have just gone through a pandemic, people have really struggled this last year.
"And as we move through the pandemic and when the time is right, then yes of course we will be looking to campaign for another independence referendum, as is the right of people of Scotland.
"Whatever the result is of that referendum, so be it, but that choice is of paramount importance."
Following Qaisar-Javed victory, First Minister Nicola Sturgeon tweeted: "Massive congratulations to new @theSNP
MP for Airdrie & Shotts, @AnumQaisarJaved."