William Tell Overture composed by Gioachino Rossini
"Although there are no horses or cavalry charges in the opera, this segment is often used in popular media to denote galloping horses, a race, or a hero riding to the rescue. Its most famous use in that respect is as the theme music for The Lone Ranger; that usage has become so famous that the term "intellectual" has been defined as "a man who can listen to the William Tell Overture without thinking of the Lone Ranger." The Finale is quoted by Johann Strauss Sr. in his William Tell Galop (Op. 29b), published and premiered a matter of months after the Paris premiere of the original, and by Dmitri Shostakovich in the first movement of his Symphony No. 15."
https://en.wikipedia.org/wiki/William_Tell_Overture