LOCATION@1 comprises two parts , the former duchies of Schleswig and PERSON@1 , both of which have passed back and forth between the LOCATION@2 and MISC@1 rulers several times .

Both duchies have passed back and forth between the Danes and various MISC@2 rulers .
