Complex sentence: They excelled and was each given an office at court and employed as official court poets, performing their poetry at court festivities.
Split into simpler sentences: They excelled and each were given an office at court. They were employed as official court poets, performing their poetry at court festivities.