We study the long-term effects of intergroup contact on nation building by exploiting a national lottery that randomly allocated conscripts to different military areas across Spain. For men born in regions feature weak Spanish identity, we find being assigned service region substantially increases self-identification as Spanish, likelihood voting elections and reduces probability for regionalis...