Question: when did the astros switch from the national league to the american league
Answer: The Astros compete in Major League Baseball ( MLB ) as a member club of the American League ( AL ) West division , having moved to the division in 2013 after spending their first 51 seasons in the National League ( NL ) .