Before the war, the official number of Afghan refugees and migrants in Iran was at least 6.1 million people.