Sinn Fein's Orfhlaith Begley is the new West Tyrone MP following a parliamentary by-election triggered when Barry McElduff quit amid claims he mocked victims of the Northern Ireland Troubles.
Mr McElduff resigned as West Tyrone MP in January, 10 days after controversy flared when he posted a video of himself with a Kingsmill-branded loaf on his head on the anniversary of the notorious Kingsmill massacre.
He insisted the video was not an intentional reference to the 1976 sectarian murders of 10 Protestant workmen by republican paramilitaries near the Co Armagh village of Kingsmill, but he acknowledged it had caused hurt and offence to victims' families.
Five candidates contested the by-election, with a turnout of 55%.
Sinn Fein’s Orfhlaith Begley, a 26-year-old solicitor, was defending a 10,000-plus majority. She topped the poll with 16,346 votes.
Abstentionist MP Ms Begley noted that her victory came in the centenary year of the first woman MP elected to Westminster, the Irish nationalist Countess Markievicz.
"This is the first female MP for West Tyrone you are looking at," she told cheering supporters inside the count centre in Omagh, among them Sinn Fein president Mary Lou McDonald and vice president Michelle O'Neill.
"So today we have made history, we are the history makers and we will continue to be."
Referring to Mr McElduff's Kingsmill video, she said there were "lessons to learn".
"Going forward it's vital for people in public life to recognise and acknowledge the pain that exists," she said.
The new MP also issued a direct message to unionists, urging reconciliation.
"What I am about is building for the future," she said.
"Reaching out to unionism and building bridges between our communities - so that we can live in a shared and reconciled future together.
"I am fully open to that if you are."
Thomas Buchanan, who contested the seat for the DUP, received 8,390 votes ahead of Daniel McCrossan for the SDLP (6,254 votes) and local councillor Chris Smyth, who represented the Ulster Unionists (2,909 votes).
Stephen Donnelly, who was the Alliance Party’s candidate, improved on his 2017 electoral performance, receiving 1,130 votes.
Final vote percentages and change from 2017: Begley (SF) 46% (-4%) Buchanan (DUP) 23% (-3%) Donnelly (All) 3% (+1%) McCrossan (SDLP) 17% (+4%) Smyth (UUP) 8% (+3%)