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
Kerrie Gosney brings you Saturday night's forecast
Showers becoming heavy and thundery Saturday afternoon. Drier for a large part of Sunday
Robert Hodgson, from Stanley, County Durham, committed the offences on the girls, aged as young as five or six, up to the age of 13.