Identify which of the sentences use passive voice.
(1) She wrote the letter in haste. (2) In haste, the letter was written by her.
Sentence (2) uses passive voice: "In haste, the letter was written by her."
Complete the following task based on the instruction and optional input provided.### Instruction:
Identify which of the sentences use passive voice.

### Input:
(1) She wrote the letter in haste. (2) In haste, the letter was written by her.

### Output:
Sentence (2) uses passive voice: "In haste, the letter was written by her."