Complex sentence: The title was held for a time by the Holy Roman Emperor and the King of Spain, until it was effectively abolished during the French Revolution after 1790 when the region was annexed to France.
Split into simpler sentences: The title was held for a time by the Holy Roman Emperor and the King of Spain. It was later abolished during the French Revolution in 1790 when the region was annexed to France.