Rewrite the following sentence changing the underlined part to passive voice
The dog barked at the stranger.
The stranger was barked at by the dog.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rewrite the following sentence changing the underlined part to passive voice

### Input:
The dog barked at the stranger.

### Output:
The stranger was barked at by the dog.