American sports journalist Grant Wahl, who died unexpectedly while covering the World Cup in Qatar, was in good spirits and joking with colleagues just minutes before his sudden death, an eyewitness said.

Wahl, 48, died after he "fell ill" at Lusail Stadium in the final minutes of a FIFA World Cup quarterfinal game between the Netherlands and Argentina Friday, a Qatari spokesperson said.

"I’m in shock. I was sitting next to him tonight. He was working on his story on his laptop. It was about four minutes before the end of the extra time," journalist Rafael Cores said of the tragedy. 

AMERICAN SOCCER JOURNALIST GRANT WAHL DIES WHILE COVERING FIFA WORLD CUP IN QATAR

"He was laughing at a joke we saw on Twitter only minutes earlier. I can’t believe it. My deepest condolences to Grant Wahl’s family."

Wahl received "immediate emergency medical treatment on site," a spokesperson for Qatar's World Cup planning committee told Fox News Digital. 

Wahl's wife, Céline Gounder, thanked the international soccer community for its concern and support after the journalist's sudden passing.

USMNT COACH GREGG BERHALTER SET TO BEGIN NEW CONTRACT TALKS WITH US SOCCER FEDERATION: REPORT

"I am so thankful for the support of my husband Grant Wahl's soccer family and of so many friends who've reached out tonight," Gounder said. "I'm in complete shock."

U.S. Soccer released a statement saying "the entire U.S. Soccer family is heartbroken."

"Fans of soccer and journalism of the highest quality know we could always count on Grant to deliver insightful and entertaining stories about our game and its major protagonists: teams, players, coaches and the many personalities that make soccer unlike any sport," U.S. Soccer said. "Grant made soccer his life's work, and we are devastated that he and his brilliant writing will no longer be with us."

BRITTNEY GRINER LANDS BACK IN US AFTER BIDEN ADMIN'S CONTROVERSIAL PRISONER SWAP

Grant Wahl with wife

Soccer journalist Grant Wahl and his wife, Dr. Céline Gounder. (Michael Loccisano/Getty Images for Budweise)

Wahl's brother, Eric, announced Grant's death on Instagram and made an emotional plea for help. 

"I am gay. I am the reason he wore the rainbow shirt to the World Cup," Eric Wahl said. "My brother was healthy. He told me he received death threats. I do not believe my brother just died. I believe he was killed, and I'm just begging for any help." 

Eric Wahl referenced an incident Grant Wahl faced two weeks ago when he tried entering the stadium for the U.S.-Wales match while wearing a rainbow pride shirt and was stopped by security. 

Grant Wahl with Jozy Altidore

Soccer player Jozy Altidore, left, and journalist Grant Wahl attend the 2017 St. Luke Foundation for Haiti benefit hosted by Kenneth Cole at the Garage Jan. 10, 2017, in New York City. (Mike Lawrie/Getty Images)

The Qatari Supreme Committee for Delivery & Legacy released a press statement acknowledging Wahl's death.

"We are deeply saddened by the death of the U.S. journalist Grant Wahl. Grant was known for his enormous love of football and was in Qatar to cover his eighth FIFA World Cup," the committee said. "He fell ill in the Lusail Stadium media tribune during last night’s quarterfinal match between Argentina (versus) Netherlands."

CLICK HERE TO GET THE FOX NEWS APP

"He received immediate emergency medical treatment on site, which continued as he was transferred by ambulance to Hamad General Hospital. We offer our deepest condolences to Grant’s family, friends and his many close colleagues in the media." 

The committee went on to state it was cooperating with U.S. officials to return Wahl's body to the U.S.

"We are in touch with the U.S. Embassy and relevant local authorities to ensure the process of repatriating the body is in accordance with the family’s wishes," the statement concluded.