In the course of the warship's eight-month career under its sole commanding officer, Captain Ernst Lindemann, Bismarck conducted only one offensive operation, lasting 8 days in May 1941, codenamed Rheinübung. The ship, along with the heavy cruiser Prinz Eugen, was to break into the Atlantic Ocean and raid Allied shipping from North America to Great Britain. The two ships were detected several times off Scandinavia, and British naval units were deployed to block their route.