Andy Pettitte completed his career in fitting fashion. The 41-year-old left-hander pitched a five-hitter for his first complete game in seven years to lead the New York Yankees over his hometown Houston Astros 2-1 Saturday. Two days after Mariano Rivera made his finale in front of an emotional crowd at Yankee Stadium, Pettitte followed his teammate into retirement and left only Derek Jeter left from the Core Four who earned five World Series rings with the Yankees since 1996. "It just couldn't end any better," Pettitte said. Rivera, the 43-year-old career saves later, was given an emotional home sendoff Thursday night and said Saturday afternoon that he wouldn't pitch during the season-ending series against the Astros. He struck out five and walked two in a 115-pitch effort, allowing his only run on Carter's RBI groundout in the fourth. With a sharp slider and cutter, he kept the Astros to 0-for-11 with runners on base. Pettitte said it was a difficult final week for him. "It's been terrible because I know it's over," he said. Robinson Cano hit an RBI single in the sixth inning, and New York took the lead when Nunez scored on an embarrassing error later in the inning by catcher Matt Pagnozzi, who accidentally spiked the ball while tying to throw to second on an attempted pickoff. Numerous friends and family of Pettitte were on hand, including former Houston teammate Jeff Bagwell. The pair exchanged a hearty embrace before Pettitte took the mound. Making his 438th start for the Yankees, he tied Whitey Ford's team record. NOTES: The Astros' 323 losses over three seasons are tied with the 1940-42 Philadelphia Phillies for fourth-most in big league history according to STATS, ahead of only the 1962-64 New York Mets (340), the 1963-65 Mets (332) and the 1915-17 Philadelphia Athletics (324). ... Houston starter Paul Clemens allowed two runs and five hits in 5 1-3 innings. ... Yankees 3B Alex Rodriguez said Saturday that he didn't expect to play this weekend because of soreness in his legs.