Complex sentence: He was the in charge of all aspects of county government and acted as prosecutor and judge, tax collector, superintendent of roads, census taker, distributor of relief to the poor or afflicted, and anything else the emperor chose to assign to him.
Split into simpler sentences: He was the in charge of all aspects of county government. He acted as tax collector, superintendent of roads, census taker, distributor of relief to the poor or afflicted, judge, and anything else the emperor chose to assign to him.