Abdullah Al Qarni's family says he dreamt of joining the military since he was a child.
Nearly five years after graduating from a Saudi Arabian military college, Al Qarni had attained the rank of captain and was on a short holiday to see his wife and newborn daughter in his home village of Shaaf, in the south-west province of Asir, when his battalion was called up to take part in Operation Desert Storm to liberate Kuwait.
The ground operation began in late February 1991, after more than a month of air strikes on Saddam Hussein's forces who had invaded Kuwait in August the previous year. Saudi forces went into battle alongside troops from more than 30 other nations as part of one of the biggest military coalitions since the Second World War.
The Iraqi forces in Kuwait were routed within days, but Al Qarni never returned.
In 2008 his older brother, Saleem Al Qarni, got a call from the Saudi Arabian military confirming the family's worst fears: he was dead, having spent nearly two decades in an Iraqi prison. But it took another 13 years to repatriate his remains.
Saudi Arabian authorities said they confirmed that the remains received belong to Al Qarni and decided to bury them at the Al Haram Martyrs' cemetery in the holy city of Makkah.
In Islamic tradition, soldiers who die in the line of duty are considered martyrs and given the greatest honours by their country. Muslims believe that martyrs go to paradise, have their sins forgiven when they breathe their last and shall feel no fear on the Day of Judgment.
“I’m speechless to explain what we felt when his martyrdom was confirmed to us,” Mr Al Qarni, a retired Saudi Arabian navy veteran, told state media at the burial on Thursday.
“His mother kept clinging to the hope that he would return home one day to his three daughters and wife. It was very hard on us all.”
He said the family kept praying that their son was still alive.
Al Qarni's father died in 2000 without learning of his son's fate. His mother died in 2015, while his wife died two years later.
It remains unclear why Al Qarni remained in Iraqi captivity and was not released along with 11 other Saudis taken as prisoners of war.
The reasons for the delay in getting back his remains are also unclear.
“It’s God's will and we are grateful,” his brother said.
“God does things a certain way and he must have chosen my brother to be among the martyrs. This is how we see it.”