NEW YORK (AP) -- Humble as ever, Mariano Rivera began his special day by paying tribute to a Hall of Famer.
The New York Yankees retired Rivera's No. 42 Sunday, and the great reliever honored Jackie Robinson during a ceremony in Yankee Stadium's Monument Park.
Robinson's No. 42 was retired throughout the major leagues in 1997 on the 50th anniversary of the day the Brooklyn Dodgers second baseman broke baseball's color barrier. Players wearing 42 at the time were grandfathered.
"It is a great pleasure and honor for me to be the last player to ever wear number 42," Rivera said during the 50-minute ceremonies before the last regular-season day home game of his 19-season career.
As Rivera stood nearby, Robinson's wife Rachel unveiled a plaque dedicated to Jackie. Then with his wife and three sons, Rivera uncovered his number -- changed from Robinson's Dodger Blue to Yankees navy -- that will be on display in Monument Park alongside the 15 other retired Yankees numbers, honoring 16 players and managers.
"We didn't have the finish of what I was looking for, but it was a great day," Rivera said after the Yankees' 2-1 loss to the San Francisco Giants dropped them four games back in the AL wild-card race.
"I didn't know what to feel, especially at the monument, where they had the number retired already -- I'm officially retired today," he added.
Before a sellout crowd, the Yankees staged a sort of "This is your baseball life" pageant for Rivera. Several of Rivera's former teammates were on hand, including Core Four member Jorge Posada, who in a role reversal threw a ceremonial first pitch that Rivera caught. Former manager Joe Torre also was on hand along with Gene Michael, the general manager at the time Rivera signed with the organization in 1990.
In a proclamation from New York City Mayor Michael Bloomberg that was read to the crowd, Sept. 22 was declared "Mariano Rivera Day."
"It was very nostalgic for me," Torre said. "When you bring everyone together, it conjures up all those memories."
After video highlights of a big league career that includes a record 652 saves, a recording of late Yankees public address announcer Bob Sheppard introduced Rivera.
Then the bullpen door swung open and the first chords of "Enter Sandman," rang out. Only this time the song that for more than a decade almost always indicated the end of the game for New York's opponent was being played live.
Iconic metal band Metallica performed their hit from a stage in center field, lead singer James Hetfield crying out, "For you Mariano."
Instead of jogging in from the bullpen, Rivera slowly walked to the infield.
Standing in front of the mound, many of Rivera's friends and family took photos and videos as the 13-time All-Star was given several long ovations and serenaded with chants of "Mar-i-ano!"
While Metallica played, Andy Pettitte, Rivera's teammate on five World Series championships, began his warmups in right field.
"The focus, it was a grind, but I knew if I could get through the first inning. Once I got past that it was pretty good," said Pettitte, who took a no-hitter in the sixth before being charged with two runs.
Pettitte announced Friday -- with Rivera's encouragement -- that he was also retiring at the end of the season and, in a neat coincidence, his final regular-season start was to come on Rivera's day.
Rivera has saved 72 of Pettitte's 255 regular-season wins, the most for any tandem in major league history.
"I'll miss [them] a lot. They're brothers to me," Derek Jeter said. "We've been through a lot, quite a bit together."