The type also served in anti-shipping units in the Mediterranean, attacking Allied convoys and naval units during the Battle of the Mediterranean. In 1943, the Do 217 was the first aircraft to deploy a precision-guided munition in combat, when Fritz X radio-guided bombs sank the Italian battleship "Roma" in the Mediterranean. After the end of the war, at least one Dornier Do 217 continued in military operational service with the Swiss Air Force until 1946.