Complex sentence: He was senator from 1832 a 1838 and served as president of Uruguay from 24 October 1834 to 1 March 1835.
Split into simpler sentences: He was senator from 1832 a 1838. Anaya served as President of Uruguay from 24 October 1834 to 1 March 1835.