stylistic:style_transfer, linguistic:paraphrasing
After Korolev

Korolev died in January 1966 from complications of heart disease and severe hemorrhaging following a routine operation that uncovered colon cancer. Kerim Kerimov, who had previously served as the head of the Strategic Rocket Forces and had participated in the State Commission for Vostok as part of his duties, was appointed Chairman of the State Commission on Piloted Flights and headed it for the next 25 years (1966–1991). He supervised every stage of development and operation of both crewed space complexes as well as uncrewed interplanetary stations for the former Soviet Union. One of Kerimov's greatest achievements was the launch of Mir in 1986.

The leadership of the OKB-1 design bureau was given to Vasily Mishin, who had the task of sending a human around the Moon in 1967 and landing a human on it in 1968. Mishin lacked Korolev's political authority and still faced competition from other chief designers. Under pressure, Mishin approved the launch of the Soyuz 1 flight in 1967, even though the craft had never been successfully tested on an uncrewed flight. The mission launched with known design problems and ended with the vehicle crashing to the ground, killing Vladimir Komarov. This was the first in-flight fatality of any space program.

Following this tragedy and under new pressures, Mishin developed a drinking problem. The Soviets were beaten in sending the first crewed flight around the Moon in 1968 by Apollo 8, but Mishin pressed ahead with development of the flawed super heavy N1, in the hope that the Americans would have a setback, leaving enough time to make the N1 workable and land a man on the Moon first. There was a success with the joint flight of Soyuz 4 and Soyuz 5 in January 1969 that tested the rendezvous, docking, and crew transfer techniques that would be used for the landing, and the LK lander was tested successfully in earth orbit. But after four uncrewed test launches of the N1 ended in failure, the program was suspended for two years and then cancelled, removing any chance of the Soviets landing men on the Moon before the United States.

Besides the crewed landings, the abandoned Soviet Moon program included the multipurpose moon base Zvezda, first detailed with developed mockups of expedition vehicles and surface modules.

Following this setback, Chelomey convinced Ustinov to approve a program in 1970 to advance his Almaz military space station as a means of beating the US's announced Skylab. Mishin remained in control of the project that became Salyut but the decision backed by Mishin to fly a three-man crew without pressure suits rather than a two-man crew with suits to Salyut 1 in 1971 proved fatal when the re-entry capsule depressurized killing the crew on their return to Earth. Mishin was removed from many projects, with Chelomey regaining control of Salyut. After working with NASA on the Apollo–Soyuz, the Soviet leadership decided a new management approach was needed, and in 1974 the N1 was canceled and Mishin was out of office. The design bureau was renamed NPO Energia with Glushko as chief designer.

In contrast with the difficulty faced in its early crewed lunar programs, the USSR found significant success with its remote moon operations, achieving two historical firsts with the automatic Lunokhod and the Luna sample return missions. The Mars probe program was also continued with some success, while the explorations of Venus and then of the Halley comet by the Venera and Vega probe programs were more effective.

In spite of many other Soviet-allied nations contributing to the national space program, the Soviet program was mostly inherited by the Russian Federation and fewer facilities to Ukraine after the dissolution of the Soviet Union in 1991. The primary spaceport, Baikonur Cosmodrome, is now in Kazakhstan, which leases the facility to Russia.