sentence1: Although it ceased to be a political capital in 1707 (when Scotland joined with England to create the United Kingdom), Edinburgh was at the forefront of intellectual debate.
sentence2: When Edimburgh ceased to be a political capital in the early 18th century, local political figures protested for a change in their infrastructure.