Complex sentence: Later, in 1796, Bonavia was appointed by the King of Spain as Governor-Intendant of Durango (in modern Mexico), remaining in that position until 1809, when he was appointed military commander of Texas.
Split into simpler sentences: Later, in 1796, Bonavia was appointed by the King of Spain as Governor-Intendant of Durango (in modern Mexico). He maintained that position until 1809, when he was appointed military commander of Texas.