Why did the political ties between United Kingdom in Hanover and