Around 1830, at the exclusive Harrow School in the United Kingdom. It happened by accident. They were playing racquets (a similar game believed to have been played since the 1700s) when somebody punctured the ball. The "squashed" version had more variable bounce and required more skill, and the game, originally called “squash racquets,” soon caught on.