When did MLB switch to 162 games?

When did MLB switch to 162 games? The National League played a 154-game schedule for the final time in 1961 before switching to 162 games when they also expanded to ten teams for the 1962 Major League Baseball season.

The National League played a 154-game schedule for the final time in 1961 before switching to 162 games when they also expanded to ten teams for the 1962 Major League Baseball season.