Question: when did houston move to the national 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 ) .