For the past 10 weeks, supporters of ousted far-right President Jair Bolsonaro had camped outside Brazilian army headquarters, demanding that the military overturn October’s presidential election. And for the past 10 weeks, the protesters faced little resistance from the government.

Then, on Sunday, many of the camp’s inhabitants left their tents in Brasilia, the nation’s capital, drove a few miles away and, joining hundreds of other protesters, stormed Congress, the Supreme Court and the presidential offices.

By Monday morning, authorities were sweeping through the encampment. They dismantled tents, tore down banners and detained 1,200 of the protesters, ferrying them away in buses for questioning.