A convinced Republican, Semper took a leading role, along with his friend Richard Wagner, in the May 1849 uprising which swept over the city. He was a member of the Civic Guard (Kommunalgarde) and helped to erect barricades in the streets. When the rebellion collapsed, Semper was considered a leading agitator for democratic change and a ringleader against government authority and he was forced to flee the city.