Pavia remained the capital of the Italian Kingdom and the center of royal coronations until the diminution of imperial authority there in the twelfth century . Pavia remained the capital of the Italian Kingdom and the center of royal coronations until the diminution of imperial authority there in the 12th century .