Three charts that show how migration surged and then fell
Patterns of people moving to and leaving the UK have changed significantly over the past few decades, with the latest data showing that net migration has hit its lowest non-pandemic level since 1997.
Thursday's Office for National Statistics (ONS) figures show 77,000 more people entered from other countries - and stayed for at least 12 months - than left to move abroad in the year leading up to June.
This is a huge fall since nearly a million people were added to the UK's population only three years ago.
You have to go back more than half a century to appreciate just how unusual the last few years have been.
The net migration figure is the balance of two trends - people coming into the country, immigration, and emigration, which is people leaving.
As you can see from this chart, more people were emigrating from the UK for much of the 1960s and 1970s than were coming to stay.
More migrants arriving than leaving became the norm around the same time as the relaxation of European Union (EU) immigration rules in 1993, with net migration rising further after several eastern European countries joined as member nations in the mid-2000s.
Emigration has been drifting up gradually over the past few years, as shown in the grey line in the graph below.
But the real story of the 2020s has been the sharp rise and fall in immigration, the trend of which almost exactly follows that of net migration.
These trends have largely been shaped by a significant increase in non-EU citizens arriving on study or work visas, often bringing families with them, since the government introduced a new immigration system in 2021 after Brexit.
There was also a spike in people seeking humanitarian protection from two specific events for which the government introduced new visa routes:
- People leaving Hong Kong in 2021 following the Chinese government's imposition of a strict security law in response to protest and unrest
- Ukrainians fleeing Russia's full-scale invasion in 2022
Following this post-Brexit surge, referred to by critics as the "Boriswave", subsequent Conservative and Labour governments increased restrictions on legal migration.
These included raising salary requirements, limiting which workers and students could bring family members and restricting the types of jobs eligible for work visas.
You can see the rise in each of these reasons for coming to the UK in the chart below, as well as the post-restrictions fall, in this chart:
For a more detailed breakdown of all the available data, you can have a look at BBC Verify's migration tracker.