Before 1864 Schleswig was a fiefdom of Denmark .
Holstein was a fief of the Roman - German Empire .
Before 1864 Schleswig was a fiefdom of Denmark , while Holstein was a fief of the Roman - German Empire .