BuildingsFortification

The Fortification kills some of the attackers before the battle even starts and adds defense to your garrison. It can be built in a city, Mine, Barracks, Pearl Lake or Dragon's Hoard, but the number of fortifications in a holding is limited. While it stands, the holding cannot be captured.
It needs the science Fortifications and a Town Hall of sufficient level. Mercenaries are not killed by fortifications.