Rafael Nadal chosen for Olympics, also in doubles with Alcaraz

Rafael Nadal: I'm at peace if this is my last French Open (1:05)

Rafael Nadal reacts to his first-round loss to Alexander Zverev and says he's at peace if this was his last French Open match. (1:05)

Rafael Nadal has been chosen to the Spanish tennis team for the Paris Olympics, where he will also partner with French Open champion Carlos Alcaraz in doubles, the Royal Spanish Tennis Federation announced Wednesday.

Nadal, who has been limited the past two years by a number of injuries, has said the Games were his focus and that he could skip Wimbledon to prepare.

"My main goal now is to play Olympics," Nadal said after losing in the first round of the French Open on May 27. "That's going to be here. So I need to prepare myself the proper way to try to arrive here healthy and well prepared, and then let's see."

Nadal and Alcaraz will play in both singles and doubles at the Games. The tennis competition will be held at Roland Garros, where Nadal is a 14-time Grand Slam champion and Alcaraz just won the French Open on Sunday.

"One pair, which I think everyone knows and was hoping for, is Carlos Alcaraz and Rafael Nadal and the second pair is yet to be decided. It hasn't been 100% confirmed yet," national team coach David Ferrer told reporters.

Alcaraz, who will be making his Olympic debut, has set winning an Olympic medal for Spain as one of his top career goals. He said after winning at Roland Garros that this year he would prefer a gold medal at the Paris Olympics over successfully defending his Wimbledon title.

"The Olympic Games are every four years and it's a special tournament where you're not only playing for yourself, but for a country, representing every Spaniard," the No. 2-ranked Alcaraz said. "I think this year I'd choose Olympic gold."

Nadal has a singles gold medal from the 2008 Beijing Games and a 2016 gold in doubles, when he played with Marc Lopez.

Spain also selected Pablo Carreno Busta, Alejandro Davidovich and Marcel Granollers (doubles) for the men's competition. Captain Anabel Medina picked No. 55 Sara Sorribes Tormo and No. 67 Cristina Bucsa -- the top-ranked Spanish players -- for the women's team, with Paula Badosa deciding not to compete as she has only two more events to play while using her protected ranking.

The Associated Press contributed to this report.