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
Cricketer Graham Onions is to exit Durham with a 'heavy heart' after failing to agree a new contract with the club.
A man who dumped a large amount of rubbish on a grass verge in Blaydon has been handed a suspended prison sentence by magistrates.
An investigation is continuing into crashes at a motorbike race in North Yorkshire, which left 12 spectators injured - three seriously.