Sinn Féin has won a historic victory in the Northern Ireland Assembly election after it became the largest party at Stormont for the first time.

The election result "ushers in a new era", the party's vice president Michelle O'Neill has said.

As counting continues tonight in the last constituency, the latest results confirmed what had long been likely - that the Republican party would force the DUP into second place.

Shortly after 7pm, 88 of 90 Assembly seats had been filled.

Sinn Féin currently has 27 seats while the DUP has 24, the Alliance Party has 17, the Ulster Unionists (UUP) have nine and the SDLP has seven, with four seats gone to others.

The Alliance Party has also enjoyed a successful election and will emerge as the third biggest party at Stormont, while the UUP and SDLP have had disappointing results.

Ulster Unionist leader Doug Beattie was elected in Upper Bann despite earlier fears he could lose his seat.

However there was upset for the SDLP when deputy leader and outgoing Stormont infrastructure minister Nichola Mallon lost her seat in North Belfast.

Talliers stand beside the ballots of SDLP Assembly candidate Nichola Mallon in Belfast
Talliers stand beside the ballots of SDLP Assembly candidate Nichola Mallon

In her declaration speech in Magherafelt after topping the poll in Mid Ulster, Ms O'Neill said: "Today represents a very significant moment of change.

"Today ushers in a new era which I believe presents us all with an opportunity to reimagine relationships in this society on the basis of fairness, on the basis of equality and the basis of social justice.

"Irrespective of religious, political or social backgrounds my commitment is to make politics work."

Read more on the Assembly Election

In a press conference shortly afterwards, party president Mary Lou McDonald said the Stormont power-sharing Executive needed to be re-established.

She said: "We look forward to an Executive being established, I look forward to Michelle O'Neill being nominated as first minister and to have politics that delivers for people.

"We would appeal to everybody to take stock, take breaths and really assess the huge responsibility that all of us carry.

"Collectively we have an obligation to get government up and running," said Ms McDonald.

The DUP collapsed Northern Ireland's power-sharing Executive earlier this year as part of its protest against the Northern Ireland Protocol, and has vowed not to re-enter government until their concerns are met.

Alliance Party leader Naomi Long has said nothing can be delivered without government in Northern Ireland after her cross-community party's election success.

Naomi Long congratulates party colleague
Naomi Long celebrates with her newly elected party colleague Nick Mathison in Belfast

Speaking at the Jordanstown count centre today after party candidate Patricia O'Lynn had won the final seat in North Antrim from DUP veteran Mervyn Storey, Mrs Long said she was excited about what her party could achieve at Stormont.

She said: "We went to the electorate based on a record of strong delivery in the last two-and-a-half years.

"We need to get in there (Stormont) on Monday because without government we can't deliver anything in Northern Ireland.

"I think given all the challenges that we face, if we squander this opportunity people will not forgive us, so we need to get in there."

The DUP, led by Jeffrey Donaldson, will comfortably retain its position as the largest unionist party despite a drop in its overall share of the vote.

Speaking at the count at the Titanic Exhibition Centre, Mr Donaldson said unionism "has held its ground".

"The unionist vote remains strong, we are the largest designation in the Assembly, I think there is a lot of spin around results and I'm very pleased with how the DUP has done in our constituencies," he said.

Jeffrey Donaldson (left) said the DUP 'held a remarkable number of seats where people were predicting all kinds of negative things'
Jeffrey Donaldson celebrates as colleague Edwin Poots is elected

"We've held a remarkable number of seats where people were predicting all kinds of negative things, so we have strong foundations, we continue to build on them," he said.

Asked whether Northern Ireland will have devolved government in 2022, Mr Donaldson said: "Let's cross all the bridges when we get to them."

He also said he will make it clear next week whether he will return to Stormont or remain at Westminster.

"The party officers will sit down, we will consider what we need to do now to get the action that is required from the [British] government, I will be making my decision clear on all of that early next week," he told the BBC.

Doug Beattie speaks to the media at the count centre in Magherafelt, Co Derry
Doug Beattie speaks to the media at the count centre in Magherafelt, Co Derry

UUP leader Mr Beattie said voters had flocked to Alliance because they had been "turned off by angry, negative unionism".

He said: "I am from Upper Bann, I have had to make unpopular decisions in the direction of the party as party leader and that may well have had an effect on me, but these are the sort of things you go through all the time when you're thinking about an election.

"People are going to the likes of the Alliance Party in droves because they're being turned off by that angry, negative unionism."

We need your consent to load this rte-player contentWe use rte-player to manage extra content that can set cookies on your device and collect data about your activity. Please review their details and accept them to load the content.Manage Preferences

TUV leader Jim Allister retained his seat in North Antrim, but it is looking unlikely his party will win any further seats.

Taoiseach Micheál Martin said it is "incumbent on all political parties" to form an Executive.

Northern Secretary Brandon Lewis repeated the call for a quick restoration of the institutions, saying the electorate had delivered a clear message.

"They were clear that they want a fully functioning devolved government in Northern Ireland, they want the issues around the Protocol addressed, and that they want politics to work better," he said.

Some 239 candidates stood across 18 constituencies. Five Assembly seats were up for grabs in each of the 18 constituencies. Just one constituency, Foyle, has yet to finish counting.

Northern Ireland uses the single transferable vote proportional representation electoral system.