Where does something smells fishy come from?

The phrase "something smells fishy" originates from the 1800s when fishmongers would sell less than fresh fish or even rotten fish as they used to cover the pungent smell of decomposing fish with fresh herbs. Hence when used figuratively in a modern context “something smells fishy” conveys suspicion about dishonesty/ deception on part of person.