Pakistan is home to over four million Afghan migrants and refugees, about 1.7 million of whom are undocumented, according to authorities. As Afghanistan’s neighbour, Pakistan has seen people travel across the border for safety for four decades, from the 1979 Soviet invasion through to the more recent return of the Taliban in 2021.