Mayor Albert's Rebellion () was a 1311âÂÂ12 rebellion by the burghers of the Polish city of Kraków against Duke Wà Âadysà Âaw I the Elbow-high. The rebellion was led by Albert, the vogt or wójt (), who under Magdeburg Law was effectively mayor of Kraków. It ended with the victory of Duke Wà Âadysà Âaw and the punishment of Kraków townsmen.
After Kraków had been devastated during the 1241 Mongol invasion of Poland, it was re-established in accordance with the Magdeburg Law by Prince Bolesà Âaw V the Chaste. In 1291 the Duchy of Kraków fell to the Pà Âemyslid king Wenceslaus II of Bohemia who in 1300 also became King of Poland. Upon the extinction of the Pà Âemyslids in 1306, the Piast duke Wà Âadysà Âaw I the Elbow-high assumed rule at Kraków, while in 1310 the Bohemian Kingdom passed to the House of Luxembourg. The new king, John of Bohemia, continued to claim the Polish royal title and moreover sought to vassalize the Piast dukes of the adjacent Silesian region.
In 1311 wójt Albert (?-1317), mayor of Kraków (1290-1312), launched a rebellion against the rule of Prince Wà Âadysà Âaw, with the goal of turning the city – then the capital of the Polish Seniorate Province – over to the Bohemian House of Luxembourg. The rebellion was pro-German and anti-Polish, both politically and culturally. Albert, himself of German or Czech origin, had the support of some of the city's German burghers. He also had the support of Bishop Jan Muskata, himself of German-Silesian origin, and the Silesian duke Bolko I of Opole, as well as of many Kraków citizens. After Wà Âadysà Âaw laid siege to the city, the revolt ended in failure. Similar rebellions took place in several other cities, particularly Sandomierz and Wieliczka; these were also crushed by Wà Âadysà Âaw.
Albert fled to Bohemia and his house was demolished, while the Polish Primate Archbishop Jakub à Âwinka of Gniezno charged Bishop Muskata with being "an enemy of the Polish people". In the aftermath of the rebellion, the city of Kraków lost many of its privileges due to the support some of its burghers gave to the uprising. From Prince Wà Âadysà Âaw's point of view, the revolt had been motivated by sentiment against Poland and the German subject and citizens proved their disloyalty.
According to a single source, so called Krasià Âski's Annals, to distinguish the German-speaking burghers of Kraków, the shibboleth Soczewica, koà Âo, miele, mà Âyn ("Lentil, wheel, grinds (verb), mill) was used. Those who could not properly pronounce this phrase were executed.
The uprising was chronicled in a contemporary Latin poem De quodam advocate Cracoviensi Alberto ("About a Certain Reeve Albert of Kraków") written by an anonymous author, which can be described as "germanophobic".