The Western part, the Duchy of Pomerania, was declared part of the Holy Roman Empire (1181). After a brief period of Danish rule (1168/1186-1227), it remained part of Holy Roman Empire of the German Nation until 1806. 