Answer:
The horse was galloping, but the jockey had fallen off it.
Explanation:
A complex sentence consists of one independent clause and one dependent clause. The independent clause is "The horse was galloping" because it can stand alone as a sentence, and the depent clause is the rest because it cannot stand alone.