With the outbreak of the revolution in Catalunya, libertarian communism was proclaimed in Urgell. The atmosphere became radicalized and many people from Urgell temporarily fled to Andorra, thinking that the coup would fail like the Sanjurjada. At first the country hosted nationalists that had fled from republican positions in Catalunya. Towards the end of the conflict, a second wave of refugees fled to Andorra, these were anarchists, republicans and socialists, fleeing from the nationalist offensive. Andorra welcomed everyone, on both sides of the conflict. The FAI was even installed on the Andorra–Catalunya border, where they began to take control of smuggling operations. Puigcerdà was also the border with the second-most escapes.