Reorganize the given sentence so that it has the proper grammar.
It was being followed the dog.
The dog was following it.
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Reorganize the given sentence so that it has the proper grammar.

### Response:
The dog was following it.