Magdeburg rights
Bishop of Courland Otto granted Magdeburg rights to Aizpute in 1378.