The term actually originated from the British Cricket games. Any bowler who retired three batsmen with three consecutive balls in cricket was entitled to a new hat at the expense of the club to commemorate this feat. Later, the term was used to indicate three consecutive scores in other sports. The phrase finally broadened to include any string of three important successes or achievements, in any field.