Complex sentence: In 1810 he was elected as a delegate to represent Puerto Rico in the Spanish Courts that were meeting in the Spanish city of Cadiz.
Split into simpler sentences: In 1810 he was elected as a delegate to represent Puerto Rico in the Spanish Courts. That meeting took place in the Spanish city of Cadiz.