Rewrite the following sentence using the passive voice:

She completed the task.
The task was completed by her.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rewrite the following sentence using the passive voice:

She completed the task.

### Output:
The task was completed by her.