 The Nationals, their starting pitching decimated by injuries, purchased Hanrahan's contract in late July, and on July 28, 2007, Hanrahan made his Major League debut against the New York Mets.In that game, he gave up three runs in six innings, striking out seven, and hitting a triple in his first at-bat.He did not receive a decision, but the Nationals defeated the Mets 6–5.