A soldier has died at a military training area in Wales, the Ministry of Defence said.
Ranger Michael Maguire died at the Castlemartin Ranges in Pembrokeshire on Wednesday.
An MoD spokeswoman said: "Our thoughts are with his family and friends at this difficult time."
Ranger Maguire's death during a live firing exercise is being investigated by Dyfed Powys Police with the assistance of the Health and Safety Executive.
Dyfed Powys Police said the soldier's family and the Coroner have been informed.
Ranger Maguire joined the 1st Battalion The Royal Irish Regiment in May 2010 and deployed to Afghanistan in September that year.
His commanding officer, Lieutenant Colonel Colin Weir, said: "The entire Battalion is deeply shocked by this tragic event, and all our thoughts and prayers are with Ranger Maguire's family at this difficult time.
"He was a deeply professional and likeable young man and will be sorely missed."
Major Richard Bell, Ranger Maguire's company commander, added: "One of our very best, his loss has devastated everyone who knew him.
"Michael was always going to stand out from the crowd. Not only because he stood a towering 6ft 7ins tall, but because of his vastly cheerful outlook on life, natural charisma and irrepressible good humour.
"All of this ensured that he was extremely popular throughout the company and his loss is keenly felt."