Cologne City Hall and 1096 were followed by the formation of a "commune" and first municipal structures as a basis for urban autonomy. In order to consolidate their economic and political rights, Cologne burghers established fraternities and trade guilds (most notably the "Richerzeche"). In the 1106 war of succession between Emperor Henry V and his father Emperor Henry IV, they took deliberate opposition to the archbishop, after which they gained benefit in regards to the city's territorial expansion over the following years. As – at the time – one of Europe's busiests trading ports and largest city in Germany, the population of Cologne
Cologne War 1288. After that, the archbishop and Prince-elector used the smaller cities of Bonn, south of Cologne, and Brühl, south of Cologne, on the Rhine River, as his capital and residence; by 1580, both his residence and the capital were located in Bonn. Although the city of Cologne obtained its status as a free imperial city in 1478, the Archbishop of Cologne retained judicial rights in the city; he acted as a Vogt, or reeve, and reserved the right of blood justice, or "Blutgericht"; only he could impose the so-called blood punishments, which included capital punishments, but also physical punishments that