Which of these sentences is written in passive voice?

The sprinkles were eaten by Rebecca.

Rebecca ate the sprinkles.

Rebecca loves sprinkles on her ice cream.

Rebecca devoured the sprinkles in one bite.

The sprinkles were eaten by Rebecca.