Coastal defence (or defense) and coastal fortification are measures taken to provide protection against military attack at or near a coastline (or other shoreline), for example, fortifications and coastal artillery. Because an invading enemy normally requires a port or harbour to sustain operations, such defences are usually concentrated around such facilities, or places where such facilities could be constructed. Coastal artillery fortifications generally followed the development of land fortifications, usually incorporating land defences; sometimes separate land defence forts were built to protect coastal forts. Through the middle 19th century, coastal forts could be bastion forts, star forts, polygonal forts, or sea forts, the first three types often with detached gun batteries called "water batteries". Coastal defence weapons throughout history were heavy naval guns or weapons based on them, often supplemented by lighter weapons. In the late 19th century separate batteries of coastal artillery replaced forts in some countries; in some areas these became widely separated geographically through the mid-20th century as weapon ranges increased. The amount of landward defence provided began to vary by country from the late 19th century; by 1900 new US forts almost totally neglected these defences. Booms were also usually part of a protected harbor's defences. In the middle 19th century underwater minefields and later controlled mines were often used, or stored in peacetime to be available in wartime. With the rise of the submarine threat at the beginning of the 20th century, anti-submarine nets were used extensively, usually added to boom defences, with major warships often being equipped with them (to allow rapid deployment once the ship was anchored or moored) through early World War I. In World War I railway artillery emerged and soon became part of coastal artillery in some countries; with railway artillery in coast defence some type of revolving mount had to be provided to allow tracking of fast-moving targets.

In littoral warfare, coastal defence counteracts naval offence, such as naval artillery, naval infantry (marines), or both.

History Rather than the beach assault of modern amphibious operations, seaborne assaults of the classical and medieval age more often took the form of coastal raiders sailing up river and landing well inland of the coast. Prior to the invention of naval artillery that could sink hostile ships, the most that coastal defence could do was act as an early warning system, that could alert local naval or ground forces of the impending attack. For example, in the late Roman period the Saxon Shore was a system of forts at the mouths of navigable rivers, and watch towers along the coast of Britannia and Gaul.

Later in Anglo-Saxon Wessex, protection against Viking raiders took the form of coast watchers whose duty was to alert the local militia, the navy, which would attempt to intercept the raider's ships, or failing that, to destroy them after they had beached. Against smaller raiding forces, the threat of losing their ships, and their way home with their loot, was often enough to force them to curtail their attack. In addition there was a system of fortified towns, burghs, that were positioned at choke points along navigable rivers to prevent raiders from sailing inland.

Sea forts

Sea forts are completely surrounded by water – if not permanently, then at least at high tide (i.e. they are tidal islands).

Unlike most coastal fortifications, which are on the coast, sea forts are not. Instead, they are off the coast on islands, artificial islands, or are specially built structures. Some sea forts, such as Fort Denison or Fort Sumter, are within harbours in proximity to the coast, but most are at some distance off the coast. Some, such as for example Bréhon Tower or Fort Drum completely occupy small islands; others, such as Flakfortet and Pampus, are on artificial islands built up on shoals. Fort Louvois is on a built-up island, from the shore, and connected to it by a causeway that high tide completely submerses. The most elaborate sea fort is Murud-Janjira, which is so extensive that one might truly call it a sea fortress.

The most recent sea forts were the Maunsell Forts, which the British built during World War II as anti-aircraft platforms. One type consisted of a concrete pontoon barge on which stood two cylindrical towers on top of which was the gun platform mounting. They were laid down in dry dock and assembled as complete units. They were then fitted out before being towed out and sunk onto their sand bank positions in 1942. The other type consisted of seven interconnected steel platforms built on stilts. Five platforms carried guns arranged in a semicircle around the sixth platform, which contained the control centre and accommodation. The seventh platform, set further out than the gun towers, was the searchlight tower.

Coastal defence and fortification by country Chile

In Colonial times the Spanish Empire diverted significant resources to fortify the Chilean coast as consequence of Dutch and English raids.

The Dutch occupation of Valdivia in 1643 caused great alarm among Spanish authorities and triggered the construction of the Valdivian Fort System that begun in 1645.Robbert Kock The Dutch in Chili at coloniavoyage.comKris E. Lane Pillaging the Empire: Piracy in the Americas, 1500–1750, 1998, pages 88–92

As consequence of the Seven Years' War the Valdivian Fort System was updated and reinforced from 1764 onwards. Other vulnerable localities of colonial Chile such as Chiloé Archipelago, Concepción, Juan Fernández Islands and Valparaíso were also made ready for an eventual English attack. Inspired in the recommendations of former governor Santa María the Spanish founded the "city-fort" of Ancud in 1768 and separated Chiloé from the Captaincy General of Chile into a direct dependency of the Viceroyalty of Peru.

China

China first established formal coastal defences during the early Ming dynasty (14th century) to protect against attacks by pirates (wokou). Coastal defences were maintained through both the Ming dynasty and the Qing dynasty that followed, protecting the coast against pirates, and against the Portuguese and other European powers that sought to impose their will on China.

Subsequently, the European powers built their own coastal defences to protect the various colonial enclaves that they established along the Chinese coast. One such, a fort built by the British commanding the Lei Yue Mun channel between Hong Kong Island and the mainland, has been converted into the Hong Kong Museum of Coastal Defence. This tells the story of coastal defence along the South China coast from the Ming dynasty onwards.

Taiwan has several coastal fortifications, with some, such as Fort Zeelandia or Anping Castle dating to the time of the Dutch East India Company. Others, such as Cihou Fort, Eternal Golden Castle, Hobe Fort, date more to the end of the 19th century. The Uhrshawan Battery dates primarily to the first half of the 19th century. It actually underwent bombardment during the Sino-French War.

Malta

The islands of Malta, Gozo and Comino all have some form of coastal fortification. The area around the Grand Harbour was possibly first fortified during Arab rule, and by the 13th century, a castle known as the Castrum Maris was built in Birgu to protect the harbour. The Maltese islands were given to Order of Saint John in 1530, who settled in Birgu and rebuilt the Castrum Maris as Fort Saint Angelo. In the 1550s, Fort Saint Elmo and Fort Saint Michael were built, and walls surrounded the coastal cities of Birgu and Senglea. In 1565, the Great Siege of Malta reduced many of these coastal fortifications to rubble, but after the siege they were rebuilt. The fortified city of Valletta was built on the Sciberras Peninsula, and further modifications were made to the fortifications over the years. The harbour area was strengthened even more by the building of the Floriana Lines, Santa Margherita Lines, Cottonera Lines and Fort Ricasoli in the 17th century and Fort Manoel and Fort Tigné in the nearby Marsamxett Harbour in the 18th century. The Order also built Fort Chambray near Mġarr Harbour in Gozo.

In the early 15th century, a number of watch posts had been established around Malta's coastline. In the early 17th century, the Order began to strengthen the coastal fortifications outside the harbour area, by building watchtowers. The first of these was Garzes Tower, which was built in 1605. The Wignacourt, Lascaris and De Redin towers were built over the course of the 17th century. The last coastal watchtower to be built was Isopu Tower in 1667. Between 1605 and 1667, a total of 31 towers were built, of which 22 survive today (with another 3 in ruins).

From 1714 onwards, about 52 batteries and redoubts, along with several entrenchments, were built around the coasts of Malta and Gozo. Many of these have been destroyed, but a few examples still survive.

After the British took Malta in 1800, they modified the Order's defences in the harbour area to keep up with new technology. Malta itself, Gibraltar, Bermuda, and Halifax, Nova Scotia were designated Imperial fortresses. The Corradino Lines were built in the 1870s to protect the Grand Harbour from landward attacks. Between 1872 and 1912, many forts and batteries were built around the coastline. The first of these was Sliema Point Battery, built to protect the northern approach to the Grand Harbour. A chain of fortifications, including Fort Delimara and Fort Benghisa, was also built to protect Marsaxlokk Harbour.

From 1935 to the 1940s, the British built many pillboxes in Malta for defence in case of an Italian invasion.

New Zealand

The coastline of New Zealand was fortified in two main waves. The first wave occurred around 1885 and was a response to fears of an attack by Russia. The second wave occurred during World War II and was due to fears of invasion by the Japanese.

The fortifications were built from British designs adapted to New Zealand conditions. These installations typically included gun emplacements, pill boxes, fire command or observation posts, camouflage strategies, underground bunkers, sometimes with interconnected tunnels, containing magazines, supply and plotting rooms and protected engine rooms supplying power to the gun turrets and searchlights.

United States

The defence of its coasts was a major concern for the United States from its independence. Prior to the American Revolution many coastal fortifications already dotted the Atlantic coast, as protection from pirate raids and foreign incursions. The Revolutionary War led to the construction of many additional fortifications, mostly comprising simple earthworks erected to meet specific threats.

The prospect of war with European powers in the 1790s led to a national programme of fortification building spanning seventy years in three phases, known as the First, Second and Third Systems. By the time of the American Civil War, advances in armour and weapons had made masonry forts obsolete, and the combatants discovered that their steamships and ironclad warships could penetrate Third System defences with acceptable losses.