When and how did governments get the power to limit people’s movements? And how did passports come to play such a crucial role?