German submarine U-171 was a Type IXC U-boat of Germany's Kriegsmarine built for service during World War II. It was laid down on 1 December 1940 at the DeSchiMAG AG Weser yard at Bremen as yard number 1011, launched on 22 July 1941, and commissioned on 25 October 1941 under the command of Kapitänleutnant Günther Pfeffer. After training with the 4th U-boat Flotilla, U-171 was transferred to the 10th U-boat Flotilla for front-line service on 1 July 1942. It was sent to patrol in the Gulf of Mexico. It was sunk by a naval mine in the Bay of Biscay 115 days into its first and only patrol, whilst returning to Lorient in occupied France, with the loss of 22 of its crew of 54. For many years it was believed was sunk by an American aircraft in what was, in reality, an unsuccessful attack on U-171 in the Gulf of Mexico. Design German Type IXC submarines were slightly larger than the original Type IXBs. U-171 had a displacement of when at the surface and while submerged. The U-boat had a total length of , a pressure hull length of , a beam of , a height of , and a draught of . The submarine was powered by two MAN M 9 V 40/46 supercharged four-stroke, nine-cylinder diesel engines producing a total of for use while surfaced, two Siemens-Schuckert 2 GU 345/34 double-acting electric motors producing a total of for use while submerged. She had two shafts and two propellers. The boat was capable of operating at depths of up to . The submarine had a maximum surface speed of and a maximum submerged speed of . When submerged, the boat could operate for at ; when surfaced, she could travel at . U-171 was fitted with six torpedo tubes (four fitted at the bow and two at the stern), 22 torpedoes, one SK C/32 naval gun, 180 rounds, and a SK C/30 as well as a C/30 anti-aircraft gun. The boat had a complement of forty-eight. Service history Patrol U-171 departed Kiel on 17 June 1942, at the end of which it was to return to Lorient, where it would be based for future sorties. It negotiated the 'gap' between Iceland and the Faroe Islands and crossed the Atlantic Ocean, entering the Gulf of Mexico. The submarine sank the 4,351 GRT Mexican general cargo merchant ship, SS Oaxaca