How long has Major League Baseball been playing all-star games?

The first MLB All Star game was played in 1933 at Comiskey Park in Chicago.