A soldier who died during a training exercise at an RAF weapons range has been named by the Ministry of Defence.
Lance Corporal Joe Spencer, of 3rd Battalion The Rifles, died following the firearms incident at RAF Tain in the Highlands on Tuesday.
His regiment is based at the Dreghorn Barracks in Edinburgh.
L/Cpl Spencer’s age has not been disclosed by the MoD.
Around 30 detectives are involved in the investigation into the death.
Confirming the soldier’s identity, Defence Minister Mark Lancaster said: “My thoughts are with Joe’s family, friends and colleagues at this terrible time.
“We are co-operating with the police investigation and looking into the circumstances surrounding this tragic incident.”
Police and ambulance crews were called to the range, north of Inverness, at around 6pm on Tuesday.
L/Cpl Spencer was found fatally injured at the site. His relatives have been informed.
Details of where the soldier was from have not been revealed by the MoD, but police previously indicated that he was not from the local area.
The training exercise in which the incident happened involved around 20 personnel.
Police Scotland previously confirmed that a firearm was involved in the death. There were no other casualties.
The investigation into the incident is being led by the Scottish force.
Speaking on Wednesday, Chief Inspector Iain MacLelland said: “Police Scotland are leading the investigation to establish the full set of circumstances of this incident and we are working closely with the Crown Office and Procurator Fiscal Service, the Health and Safety Executive, and the Armed Forces.
“I would wish to emphasise that this incident was confined to the RAF firing range at Tain, that no persons were involved other than those military personnel participating in the exercise, and at no stage was there a threat to the wider public safety.”
He advised that the nature of the incident would mean a continued police presence in the area over the days ahead.
Officers are said to be keeping “a very open mind” over the cause of the incident.