 Quarrels arose after the City of Lübeck gained imperial immediacy in 1226 and as the territory of the state was centered on Eutin, the town in 1309 became the residence of the bishops.With the of 1803, the Prince-Bishopric was mediatized.It became the Principality of Lübeck and was given to the Duchy of Oldenburg, since the last prince-bishop (Peter I of Holstein-Gottorp) was also prince regent of Oldenburg.