While Prince William rode on horseback for the event