Naval trawlers are vessels built along the lines of a fishing trawler but fitted out for naval purposes; they were widely used during the First and Second World Wars. Some—known in the Royal Navy as "Admiralty trawlers"— were purpose-built to naval specifications, others adapted from civilian use. Fishing trawlers were particularly suited for many naval requirements because they were robust vessels designed to work heavy trawls in all types of weather, and had large clear working decks. A minesweeper could be created by replacing the trawl with a mine sweep. Adding depth charge racks on the deck, ASDIC sonar below, and a or gun in the bow equipped the trawler for anti-submarine duties. The naval trawler is a concept for expeditiously converting a nation's fishing boats and fishermen to military assets. England used trawlers to maintain control of seaward approaches to major harbours. No one knew these waters as well as local fishermen, and the trawler was the ship type these fishermen understood and could operate effectively without further instruction. The Royal Navy maintained a small inventory of trawlers in peacetime, but requisitioned much larger numbers of civilian trawlers in wartime. The larger and newer trawlers and whalers were converted for antisubmarine use and the older and smaller trawlers were converted to minesweepers. Armed trawlers were also used to defend fishing groups from enemy aircraft or submarines. The smallest civilian trawlers were converted to danlayers. Some nations still use armed trawlers for fisheries protection and patrol. The Indian Navy used naval trawlers for patrol duties during its involvement in the Sri Lankan civil war. North Korea has notoriously used armed trawlers as spy ships. In 2001 the Japanese sank a North Korean naval trawler after a six-hour battle known as the battle of Amami-Ōshima. Somali pirates have commandeered trawlers and armed them for attacking freighters off the Horn of Africa; the action of 18 March 2006 involved a naval trawler used by pirates.