the prince-bishopric of paderborn was secularized in 1802 and given to prussia, but it was subsequently annexed by the kingdom of westphalia only to return to prussia again as part of the province of westphalia.