Complex sentence: Shortly thereafter, Gregory XVI appointed Pecci as legate (provincial administrator) to Benevento, the smallest of papal provinces, including about 20,000 people.
Split into simpler sentences: Shortly thereafter, Gregory XVI appointed Pecci as legate (provincial administrator) to Benevento. The smallest of papal provinces, Benevento included about 20,000 people.