In 1947, the Danish navy bought twelve former Kriegsmarine boats. These were further augmented in 1951 by six units bought from the Royal Norwegian Navy. The last unit, the P568 Viben, was retired in 1965.[28]