Which is a compound sentence?

 - The lightning frightened the horses, but they calmed down after the storm.
 - Bison once roamed freely across the Great Plains of the United States.
The first sentence is the compound sentence. It is made up of two simple sentences joined by a comma and the conjunction but.
The lightning frightened the horses, but they calmed down after the storm.