Naval warfare
History: Mankind has fought battles on the sea for more than 3,000 years. Even in the interior of large landmasses, transportation before the advent of extensive railways was largely dependent upon rivers, lakes, canals, and other navigable waterways.
The latter were crucial in the development of the modern world in the United Kingdom, America, the Low Countries and northern Germany, because they enabled the bulk movement of goods and raw material, which supported the nascent Industrial Revolution. Prior to 1750, materials largely moved by river barge or sea vessels. Thus armies, with their exorbitant needs for food, ammunition and fodder, were tied to the river valleys throughout the ages.
Pre-recorded history (Homeric Legends, e.g. Troy), and classical works such as The Odyssey emphasize the sea. The Persian Empire – united and strong – could not prevail against the might of the Athenian fleet combined with that of lesser city states in several attempts to conquer the Greek city states. Phoenicia's and Egypt's power, Carthage's and even Rome's largely depended upon control of the seas.
So too did the Venetian Republic dominate Italy's city states, thwart the Ottoman Empire, and dominate commerce on the Silk Road and the Mediterranean in general for centuries. For three centuries, Vikings raided and pillaged far into central Russia and Ukraine, and even to distant Constantinople (both via the Black Sea tributaries, Sicily, and through the Strait of Gibraltar).
Gaining control of the sea has largely depended on a fleet's ability to wage sea battles. Throughout most of naval history, naval warfare revolved around two overarching concerns, namely boarding and anti-boarding. It was only in the late 16th century, when gunpowder technology had developed to a considerable extent, that the tactical focus at sea shifted to heavy ordnance.
Many sea battles through history also provide a reliable source of shipwrecks for underwater archaeology. A major example is the exploration of the wrecks of various warships in the Pacific Ocean.

Mediterranean Sea: The first recorded sea battle was the Battle of the Delta, the Ancient Egyptians defeated the Sea Peoples in a sea battle c. 1175 BC.
As recorded on the temple walls of the mortuary temple of pharaoh Ramesses III at Medinet Habu, this repulsed a major sea invasion near the shores of the eastern Nile Delta using a naval ambush and archers firing from both ships and shore.
Assyrian reliefs from the 8th century BC show Phoenician fighting ships, with two levels of oars, fighting men on a sort of bridge or deck above the oarsmen, and some sort of ram protruding from the bow. No written mention of strategy or tactics seems to have survived.
Josephus Flavius (Antiquities IX 283–287) reports a naval battle between Tyre and the king of Assyria who was aided by the other cities in Phoenicia. The battle took place off the shores of Tyre. Although the Tyrian fleet was much smaller, the Tyrians defeated their enemies.

The Greeks of Homer just used their ships as transport for land armies, but in 664 BC there is a mention of a battle at sea between Corinth and its colony city Corcyra.
Ancient descriptions of the Persian Wars were the first to feature large-scale naval operations, not just sophisticated fleet engagements with dozens of triremes on each side, but combined land-sea operations. It seems unlikely that all this was the product of a single mind or even of a generation; most likely the period of evolution and experimentation was simply not recorded by history.
After some initial battles while subjugating the Greeks of the Ionian coast, the Persians determined to invade Greece proper. Themistocles of Athens estimated that the Greeks would be outnumbered by the Persians on land, but that Athens could protect itself by building a fleet (the famous "wooden walls"), using the profits of the silver mines at Laurium to finance them.
The first Persian campaign, in 492 BC, was aborted because the fleet was lost in a storm, but the second, in 490 BC, captured islands in the Aegean Sea before landing on the mainland near Marathon. Attacks by the Greek armies repulsed these.

The third Persian campaign in 480 BC, under Xerxes I of Persia, followed the pattern of the second in marching the army via the Hellespont while the fleet paralleled them offshore. Near Artemisium, in the narrow channel between the mainland and Euboea, the Greek fleet held off multiple assaults by the Persians, the Persians breaking through a first line, but then being flanked by the second line of ships. But the defeat on land at Thermopylae forced a Greek withdrawal, and Athens evacuated its population to nearby Salamis Island.
The ensuing Battle of Salamis was one of the decisive engagements of history. Themistocles trapped the Persians in a channel too narrow for them to bring their greater numbers to bear, and attacked them vigorously, in the end causing the loss of 200 Persian ships vs 40 Greek. Aeschylus wrote a play about the defeat, The Persians, which was performed in a Greek theatre competition a few years after the battle. It is the oldest known surviving play. At the end, Xerxes still had a fleet stronger than the Greeks, but withdrew anyway, and after losing at Plataea in the following year, returned to Asia Minor, leaving the Greeks their freedom. Nevertheless, the Athenians and Spartans attacked and burned the laid-up Persian fleet at Mycale, and freed many of the Ionian towns. These battles involved triremes or biremes as the standard fighting platform, and the focus of the battle was to ram the opponent's vessel using the boat's reinforced prow. The opponent would try to maneuver and avoid contact, or alternately rush all the marines to the side about to be hit, thus tilting the boat. When the ram had withdrawn and the marines dispersed, the hole would then be above the waterline and not a critical injury to the ship.
During the next fifty years, the Greeks commanded the Aegean, but not harmoniously. After several minor wars, tensions exploded into the Peloponnesian War (431 BC) between Athens' Delian League and the Spartan Peloponnese. Naval strategy was critical; Athens walled itself off from the rest of Greece, leaving only the port at Piraeus open, and trusting in its navy to keep supplies flowing while the Spartan army besieged it. This strategy worked, although the close quarters likely contributed to the plague that killed many Athenians in 429 BC.
There were a number of sea battles between galleys; at Rhium, Naupactus, Pylos, Syracuse, Cynossema, Cyzicus, Notium. But the end came for Athens in 405 BC at Aegospotami in the Hellespont, where the Athenians had drawn up their fleet on the beach, and were surprised by the Spartan fleet, who landed and burned all the ships. Athens surrendered to Sparta in the following year.

Navies next played a major role in the complicated wars of the successors of Alexander the Great.
The Roman Republic had never been much of a seafaring nation, but it had to learn. In the Punic Wars with Carthage, Romans developed the technique of grappling and boarding enemy ships with soldiers. The Roman Navy grew gradually as Rome became more involved in Mediterranean politics; by the time of the Roman Civil War and the Battle of Actium (31 BC), hundreds of ships were involved, many of them quinqueremes mounting catapults and fighting towers. Following the Emperor Augustus transforming the Republic into the Roman Empire, Rome gained control of most of the Mediterranean. Without any significant maritime enemies, the Roman navy was reduced mostly to patrolling for pirates and transportation duties. It was only on the fringes of the Empire, in newly gained provinces or defensive missions against barbarian invasion, that the navy still engaged in actual warfare.

Europe, Western Asia, and Northern Africa: While the barbarian invasions of the 4th century and later mostly occurred by land, some notable examples of naval conflicts are known. In the late 3rd century, in the reign of Emperor Gallienus, a large raiding party composed by Goths, Gepids and Heruli, launched itself in the Black Sea, raiding the coasts of Anatolia and Thrace, and crossing into the Aegean Sea, plundering mainland Greece (including Athens and Sparta) and going as far as Crete and Rhodes. In the twilight of the Roman Empire in the late 4th century, examples include that of Emperor Majorian, who, with the help of Constantinople, mustered a large fleet in a failed effort to expel the Germanic invaders from their recently conquered African territories, and a defeat of an Ostrogothic fleet at Sena Gallica in the Adriatic Sea.
During the Muslim conquests of the 7th century, Muslim fleets first appeared, raiding Sicily in 652 (see History of Islam in southern Italy and Emirate of Sicily), and defeating the Byzantine Navy in 655. Constantinople was saved from a prolonged Arab siege in 678 by the invention of Greek fire, an early form of flamethrower that was devastating to the ships in the besieging fleet. These were the first of many encounters during the Byzantine-Arab Wars.