It was the capital of the Duchy of ORGANIZATION@1 from NUMBER@1 , then of the LOCATION@1 ruled by the ORGANIZATION@2 and finally the first capital of a unified LOCATION@2 .

LOCATION@3 was the first capital of LOCATION@2 in NUMBER@2 .
