 Wilhelm was the son of Frederick Augustus I, Duke of Oldenburg and Princess Ulrike Friederike Wilhelmine of Hesse-Kassel.He succeeded his father, Frederick Augustus I, Duke of Oldenburg as the Duke of Oldenburg in 1785.Due to mental illness, Wilhelm was duke in name only, with his cousin Peter, Prince-Bishop of Lübeck, acting as regent throughout his entire reign.