The Russian submarine B-871 Alrosa is a diesel-electric Kilo-class submarine that joined the Soviet Navy in 1990 and was active with the Russian Navy's Black Sea Fleet. B-871 Alrosa was laid down on 17 May 1988 at the Gorky shipyard. The submarine was launched on 10 September 1989 and commissioned on 1 December 1990. In 1991, during the dissolution of the Soviet Union, the crew of the boat swore allegiance to Ukraine. Though in Ukrainian service, the submarine saw limited duty due to a lack of parts. The vessel returned to Russian service in 1997 as part of an agreement between the two nations.