Reorganize the given sentence so that it has the proper grammar.
It was being followed the dog.
The dog was being followed.
Complete the following task based on the instruction and optional input provided.### Instruction:
Reorganize the given sentence so that it has the proper grammar.

### Input:
It was being followed the dog.

### Output:
The dog was being followed.