SESTO SAN GIOVANNI, Italy — For 70 years, Sesto San Giovanni, on the outskirts of Milan, was a bastion of the left as it drew thousands of migrants from Italy’s poorer south to work in its factories.

But much has changed recently. The factories are shut down. The most recent migrants who have arrived are not from Italy’s south, but other nations. And the center-right broke the left’s long-unchallenged governing streak and won municipal elections last June.

Today, if there is one place in Italy where the country’s economic and migrant crises collide, it is in Sesto. And if there is one place to take the measure of the right’s creeping anti-immigrant influence in politics and society, Sesto is that place, too.

Nationally, since Italy’s inconclusive elections last month, political leaders have struggled to form a government, but there remains a good chance that the Five Star Movement, with a subtle Italians-first message, and the anti-immigrant, right-wing League could be a part of it.