 In exchange, Denmark ceded the Duchy of Oldenburg to the Prince Bishops of Lübeck, a cadet branch of the Dukes of Gottorp.Thus, Friederich August of Holstein-Gottorp, Prince Bishop of Lübeck, became Duke of Oldenburg.His son and heir apparent, Peter Friedrich Wilhelm, succeeded him as Wilhelm I, Duke of Oldenburg.