The term ‘home run’ was already previously used in a different sport before becoming a mainstay in baseball vocabulary. What was that sport?

The word “home run” was first used in cricket before it became popular in baseball. A batsman who smashes the ball over the boundary in cricket is said to have hit a home run.