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
Rain develops overnight into Monday before colder and stronger air digs in from the north - bringing the risk of snow, frost and ice
Results for other teams on Saturday means Newcastle United will be promoted to the Premier League on Monday if they beat Preston North End.
Middlesbrough fans have continued to leave tributes to Ugo Ehiogu outside The Riverside football ground.