Which of these statements is written using passive voice?

A: I went to the store because it was having a sale.

B: It was said that the store had a good sale.

C: The Store was advertising a good sale.

D: A sale at the store led me there.