Soyuz T-5 was the first long-duration expedition to the Salyut 7 space station. The mission began on May 13, 1982, 09:58:05 UTC, launching Commander Anatoli Berezovoy and Flight Engineer Valentin Lebedev into orbit. They docked with the station the next day. During their 211-day stay on the station, crew performed various scientific and medical experiments, and were visited by 4 uncrewed cargo Progress vehicles and 2 Soyuz missions. Soyuz T-5 crew, per usual, swapped vehicles with the visiting Soyuz T-7 crew, which allowed for a longer stay in orbit.
Cosmonauts returned in the Soyuz T-7 spacecraft, landing safely back on Earth on December 10, 1982, 19:02:36 UTC.