KNOXVILLE, Tenn. — It was a parent's worst nightmare. In 1997, newborn Stewart Rembert was abducted from the hospital by a woman impersonating a nurse. The police and FBI were called in and a massive search began.

But the story had a happy ending. Rembert was found 19 hours later in a box next to a restaurant dumpster in Tacoma, Wash., by a rookie FBI agent in his first few months on the job.

On Friday morning, the FBI bid farewell to that agent, Troy Sowers, who is retiring after 22 years of service. But his colleagues had a surprise for him — they had tracked down Rembert, now a corporal in the Marine Corps, and invited him to the celebration in Tennessee.

Stewart Rembert as a child. Courtesy Rembert family

"It's crazy to think that without his efforts, I wouldn't even be here today," Rembert told NBC News just before the two met. "I wouldn't be a Marine. My family wouldn't be the same... I'm just super excited and honored to meet this man today."

At the farewell, Rembert entered the room to applause from the gathered FBI agents and staff and shook hands with the man who had lifted him out of a box 22 years earlier. They thanked each other for their service, and Rembert hugged Sowers.

"My parents wanted me to give you a hug," he told the shocked FBI agent.

U.S. Marine Cpl. Stewart Rembert embraces FBI Special Agent Troy Sowers during the agent's retirement ceremony at the FBI Field Office in Knoxville, Tennessee, Aug. 9, 2019. Sowers rescued days-old Rembert from a kidnapping in 1997 in Tacoma, Washington. 1st Lt. Robert Vachon / 2nd Marine Logistics Group

Sowers said the reunion was "probably one of the best surprises I've ever had."

Sowers recounted for the room how he and other law enforcement officials had convinced Rembert's kidnapper to lead them to the abandoned baby. It was all new information for Rembert, who never knew much detail about his own kidnapping and rescue.

Sowers said that after the kidnapper agreed to show them where she had left Rembert, his chief concern was if the baby would be alive when they found him. "We knew he had been out there for several hours. When I picked him up, he was not crying, but he just nuzzled right into my neck and I knew he was fine."

The medical crew arrived shortly and took Rembert away. Sowers did not think he would ever see him again.