Long Way from Home
In April of 1989, the three of them returned to earth. Polyakov had been on board for 240 days, and Krikalev and Volkov spend 151 days in orbit, on their first time aboard Mir.
Source: scribol.com
Polyakov went aboard Mir for the second time in 1994 and spent 437 days in space! It was the longest amount of time a person has been away from earth at the time.