Rishi Sunak has called a general election for this summer.
The prime minister has been saying for months he would call a vote for the "second half of the year", and it will now be held on Thursday, 4 July.
Under the Dissolution and Calling of Parliament Act 2022, Mr Sunak had until 17 December this year to call an election - as votes must be held no more than five years apart.
Mr Sunak became prime minister on 25 October 2022 when he succeeded Liz Truss.
The prime minister has already requested permission from the King to hold a general election, as the power to dissolve parliament - end the session - legally lies with him.
Parliament must be "dissolved" for an election to officially take place. Polling day then takes place 25 working days after that date.
Mr Sunak said in a speech outside Downing Street on Wednesday that the King had granted his request to dissolve parliament.