|Builder:||Rotterdamsche Droogdok Maatschappij, Rotterdam|
|Laid down:||20 April 1939|
|Launched:||23 Novovember 1940|
|Commissioned:||28 January 1941|
|Decommissioned:||19 March 1945|
|Fate:||Scuttled 3 May 1945|
|General characteristics |
|Class and type:||O 21-class submarine|
|Length:||77.70 m (254 ft 11 in)|
|Beam:||6.80 m (22 ft 4 in)|
|Draught:||3.95 m (13 ft 0 in)|
UD-4 was an O 21-class submarine. The boat was laid down as the Dutch submarine K XXVI and renamed O 26 but was captured during German invasion of the Netherlands in World War II and commissioned in the Kriegsmarine.
The submarine was ordered on 24 June 1938 and laid down on 20 April 1939 as K XXVI at the Rotterdamsche Droogdok Maatschappij, Rotterdam. During construction she was renamed O 26. Following the German invasion of 10 May 1940, the not yet launched O 26 was captured at the yard by the invading forces.
The Germans decided to complete her. The launch took place on 23 November 1940. She served in the Kriegsmarine as UD-4 and was commissioned on 28 January 1941, with Helmut Brümmer-Patzig in command.
From January to April 1941 UD-4 served as school boat in Kiel when attached to the 1st Flotilla. In May she was transferred to the 3rd Flotilla also in Kiel where she was used as a trial boat. She remained there until July that year. August 1941 the boat was transferred to the 5th Flotilla also in Kiel where she was used as a school boat until December 1942. In January 1943 UD-4 was transferred to Gotenhafen where she served as a school boat for 24th Flotilla and 27th Flotilla until January 1945. From January to March 1945 she was based in Hela and transferred to the 18th Flotilla where she served as a school boat.
19 March 1945 UD-4 was decommissioned and on 3 May 1945 the boat was scuttled in Kiel.
- "Dutch Submarines: The O 21 submarine class". dutchsubmarines.com. 2012. Retrieved 28 July 2013.
- "Dutch Submarines: The submarine O 26". dutchsubmarines.com. 2012. Retrieved 28 July 2013.
- Busch & Röll 1999, p. 41.
- Busch, Rainer; Röll, Hans-Joachim (1999). German U-boat commanders of World War II : a biographical dictionary. Translated by Brooks, Geoffrey. London, Annapolis, Md: Greenhill Books, Naval Institute Press. ISBN 978-1-55750-186-8.
- Gröner, Erich; Jung, Dieter; Maass, Martin (1991). U-boats and Mine Warfare Vessels. German Warships 1815–1945. 2. Translated by Thomas, Keith; Magowan, Rachel. London: Conway Maritime Press. ISBN 978-0-85177-593-7.