Why was pinball a banned game?

The game was invented in the late 1700s, and by 1930 it had become one of the most popular in the world. Surprisingly, New York Mayor Fiorello LaGuardia banned the game in the early 1940s, and it remained illegal until 1976. The mayor believed pinball was stealing from schoolchildren. Entire raids were created around the city, which collected thousands of cars and destroyed them. The ban ended when Roger Sharp testified before a committee in a Manhattan court that pinball had become a game based on skill rather than luck like gambling.
Sharpe demonstrated various techniques of the game and proved that its outcome depends on the professionalism of the player.