A soldier from County Durham had been drinking before his death at an army base in Iraq in December 2008, an inquest has heard.
The inquest into the death of Lance Corporal David Wilson heard from the colleague he was with on the evening before he was found slumped over a desk with a gun by his hand.
Warrant Officer Anthony Todd told the coroner at Crook in County Durham that the pair had drunk around 300 millilitres of vodka because it was the end of their tour together.
He said they were aware that drinking alcohol was against the rules and they were no more than merry and tipsy.
Warrant Officer Todd told the inquest that Lance Corporal Wilson had asked him to be his best man that night and was excited about the recent birth of his daughter.
The inquest will resume tomorrow.
More top news
Emma Jesson brings you Sunday night's forecast
Cold and clear with widespread frost on Sunday night. Sunny Monday then showers
A number of Britons are feared stranded on Mount Everest after the Nepal earthquake triggered a deadly avalanche on Saturday.