Rewrite this sentence to correct the usage of the word "it's"
I realized it's was a mistake.
I realized it was a mistake.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rewrite this sentence to correct the usage of the word "it's"

### Input:
I realized it's was a mistake.

### Output:
I realized it was a mistake.