"It's a historic moment," the stadium announcer intoned as Beckham was substituted. Not that the crowd of 44,983 needed a reminder.
As Beckham walked off slowly, applauding the fans, his hair uncharacteristically bedraggled, his mother, Sandra, wiped away a tear in the stands.
His replacement, Ezequiel Lavezzi, gave Beckham a big hug and then ruffled the fashion maven's hair. Beckham immediately swept it back into place.
After the final whistle, teammates hoisted Beckham off the ground and repeatedly tossed him in the air, putting a smile back on his face.
The celebrations kicked in as the lights were turned off, light sticks were held up and the crowd broke into song. The fireworks then flew into the night sky, accompanied by an 'Ole!' as each one went off.
"After 22 years of playing football I'm going to take a few months to enjoy time with my family," Beckham said, before adding that he still wants to stay involved with PSG. "It's been a very special place for me."
Before the game, the 38-year-old Englishman was given a rousing reception at Parc des Princes. Spectators broke into chants of "Merci, David" when his name was read over the stadium speaker.
PSG's players walked onto the field to a thunderous reception, with Nirvana's "Smells like Teen Spirit" reverberating. PSG right back Christophe Jallet dyed his hair in the blue, white and red of the French flag while the players all wore next season's team jerseys.
The game brought a stronger security presence, with about 150 riot police forming a ring inside the stadium in the second half. The show of force followed Monday night's riots at Trocadero plaza, where a celebration to mark the French title turned violent.
This was Beckham's 14th game and fifth start since joining PSG in a surprise move on the last day of the transfer window. He was appointed captain before the game.
PSG clinched the league title last weekend, making Beckham the first English player to win the championship in four countries after title success with Manchester United, Real Madrid and the Los Angeles Galaxy.
Beckham was involved in the opening goal in the seventh minute. His free kick found Clement Chantome, whose pass released Zlatan Ibrahimovic as he broke into the penalty area down the right side. Ibrahimovic struck the ball into the opposite corner.
Ibrahimovic almost scored a minute later when Beckham's superb long pass sent him through, but the imposing Swede hesitated between heading the ball over goalkeeper Alexis Thebaux or taking it past him. Theabaux snatched the ball from him.
Beckham set up the second goal in the 32nd with a corner kick from the left. Blaise Matuidi's poorly hit ball bounced into the ground and looped over Thebaux's outstretched arm. Ibrahimovic blasted in a free kick from 30 yards into the top left corner for the third goal, setting a personal record with his 29th league goal of the season.
Early in the second half, Beckham almost set up striker Kevin Gameiro with a curling cross from the right that the striker headed wide.
It would not be long before Beckham was gone, but the noise and the celebration and the fireworks still had a ways to go.