The UK is just weeks away from a snap general election on December 12 after Jeremy Corbyn agreed to Boris Johnson’s demands for a vote.

The Labour leader vowed to launch the “most ambitious and radical campaign for real change our country has ever seen” despite the party trailing behind the Conservatives in opinion polls.

His announcement came after Mr Johnson formally accepted a Brexit extension, definitively breaking his “do or die” commitment to leave the EU by October 31.

Here’s how you can register to vote and have your say, bearing in mind the deadline to do so is 26 November.

Top 10 marginal seats to watch at the general election Show all 10 1 /10 Top 10 marginal seats to watch at the general election Top 10 marginal seats to watch at the general election North East Fife Currently held by the SNP with a majority of 2 Getty Top 10 marginal seats to watch at the general election Kensington Currently held by Labour with a majority of 20 Getty Top 10 marginal seats to watch at the general election Perth and North Perthshire Currently held by the SNP with a majority of 21 Getty Top 10 marginal seats to watch at the general election Dudley North Currently held by independent, formerly Labour, MP Ian Austin with a majority of 22 LivingInMediocrity Top 10 marginal seats to watch at the general election Newcastle-under-Lyme Currently held by Labour with a majority of 30 Derek Harper Top 10 marginal seats to watch at the general election Southampton Itchen Currently held by the Conservatives with a majority of 31 Rob Candish Top 10 marginal seats to watch at the general election Richmond Park Currently held by the Conservatives with a majority of 45 Robin Webster Top 10 marginal seats to watch at the general election Crewe and Nantwich Currently held by Labour with a majority of 48 Jaggery Top 10 marginal seats to watch at the general election Glasgow South West Currently held by the SNP with a majority of 60 Alec MacKinnon Top 10 marginal seats to watch at the general election Glasgow East Currently held by the SNP with a majority of 75 Christine Johnstone

Am I eligible to vote?

You can vote in any coming election so long as you’re registered and are 18 or over on the day of the vote.

You must be one of the following:

A British citizen living in the UK

A Commonwealth citizen living in the UK who has leave to remain in the UK or who does not require leave to remain in the UK

A British citizen living overseas who has been registered to vote in the UK in the last 15 years

An Irish citizen living overseas who was born in Northern Ireland and who has been registered to vote in Northern Ireland in the last 15 years

How do I register?

If you registered to vote last time around, you may not need to re-register.

Otherwise, you can register online here.

You will need your National Insurance number and passport.

It is important to note that if you have moved home since the last time you voted, you must re-register at your new property.

You can still register to vote even if you do not have a fixed address. This may be because you are:

A hospital patient

Homeless

A merchant seaman

Part of the gypsy or travelling community

Living on a boat or other moveable residence

A person remanded in custody

If you do not have a permanent address, you can register at an address where you spend a substantial part of your time or have some connection. This could be a previously permanent address, shelter or similar place.

You can register by filling in a form called a “Declaration of local connection”, which can be downloaded here.

There are two forms – one for people in England and Wales and one for those living in Scotland. Alternatively, you can get the form from your local electoral registration office.

Not sure if you’re registered?

Every local authority holds the electoral register for their area. You can contact your local registration office and they will be able to let you know if you are registered.

To find the contact details of your local office, enter your postcode here on the Electoral Commission’s website.

I’m registered – now how do I vote?

You can vote in a referendum or general election in the following ways:

In person at your local polling station – you can find the location on the Electoral Commission’s website closer to voting day

By post, or by proxy

Details of the nearest polling station are most likely to be shown on the back of your polling card, which you will receive in the post in the event a new vote is announced.

In England, Scotland and Wales, you can register to vote by post if you will be unable to do it in person on the day.

For a postal vote you will need to download a form and send it to your local registration office (see above).

Your local council will then send you a ballot paper by post, which you will need to send back. This must done in advance – all postal vote requests need to arrive at the office a few days before the election.

Support free-thinking journalism and attend Independent events

Can someone else vote for me?

If you cannot vote by either of these methods, you can apply to vote by proxy – allowing somebody you trust to submit your vote on your behalf.

This can be due to a disability, or if you are abroad, or away on a course for work or university.