What date did sovereignty shift from the state of Denmark?