Carpenter Ant?

Carpenter Ant?

Observation - Carpenter Ant?. Description: I saw this beetle at the bottom of Arthurs Seat in Edinburgh. It was almost an inch long and looked like an ant, but it's tail curled upwards. When we tried to move it from the footpath with a leaf, two pale green/white prongs came out from it's tail. Doe

I saw this beetle at the bottom of Arthurs Seat in Edinburgh. It was almost an inch long and looked like an ant, but it's tail curled upwards. When we tried to move it from the footpath with a leaf, two pale green/white prongs came out from it's tail. Does anyone know what it is?