An exit poll in the U.K.'s general election suggests it will be a landslide victory for the opposition Labour Party after nearly a decade and a half of Conservative rule.

The poll, released moments after polls closed on Thursday, indicated that Labour leader Keir Starmer will be the country’s next prime minister.

"Today, Britain’s future is on the ballot," Starmer wrote in an X post prior to the election.

NIGEL FARAGE'S RETURN TO POLITICS CAUSES WRINKLE IN BRITISH ELECTION: WHY HAS HE PROVEN SO SUCCESSFUL?

Keir Starmer

Labour Party leader Keir Starmer and wife Victoria arrive at a polling station to cast their vote in London on Thursday. (AP Photo/Vadim Ghirda)

If Starmer wins the general election, it will be the Labour Party's first win since 2005.

Labour pledged to get the U.K.'s sluggish economy growing, invest in infrastructure and make Britain a "clean energy superpower."

British Prime Minister Rishi Sunak stands in front of a microphone wearing a dark suit, white shirt, and blue tie in front of a blue backdrop.

British Prime Minister Rishi Sunak speaks during a Conservative general election campaign event in Edinburgh, Scotland, on June 24. (Phil Noble/Pool Photo via AP, File)

CLICK HERE TO GET THE FOX NEWS APP

Rishi Sunak has served as prime minister of the U.K. and leader of the Conservative Party since 2022.