CFB PETAWAWA, Ont. - The military says a Canadian soldier who died at CFB Petawawa in eastern Ontario was doing mechanic work on an armoured vehicle when the incident that killed him occurred.

Canadian Forces spokesman Lt. Jean-Francois Carpentier says Craftsman Kyle Sinclair, 27, was working inside a building hanger on a lightly armoured Coyote patrol vehicle on Friday night, but wouldn't say exactly what happened.

He says Sinclair was rushed to an Ottawa hospital, where he succumbed to his injuries shortly before midnight while surrounded by friends and family.

Sinclair joined the Forces in December 2012, was in a training program with The Royal Canadian Dragoons and belonged to 2 Service Battalion.

Prime Minister Stephen Harper and Defence Minister Rob Nicholson have both offered their condolences.

The military has launched an internal investigation into Sinclair's death.