In 1979, Ryan signed a contract with the Houston Astros for a record $1 million. With the Astros, he pitched his 3,509th career strikeout, becoming the first pitcher to surpass Walter Johnson's 1927 record. In 1989, he joined the Texas Rangers as a free agent, and in 1991, pitched his seventh and last no-hitter.