29 Martello towers and battery installations were constructed or partially constructed in the Greater Dublin Area between 1803 and 1808. The towers were intended to act as a deterrent against a foreign invasion by Napoleon and his French Armies as well as being used as general lookout posts. In later years, towers were also used as coast guard stations, lookout stations to prevent smuggling and as other general purpose military installations by various British and Irish defence forces.