Here's why:
* Participial Phrases are verb forms ending in "-ing" or "-ed" that function as adjectives, modifying nouns or pronouns. They often act like descriptive phrases.
* In this case, "Riding a horse" describes the sheriff, telling us how he appears.
Let me know if you have any other sentences you'd like to analyze!