In 2005, long-time head coach Yuri Semin left the team to coach the Russian national team, where he was replaced at Lokomotiv by Vladimir Eshtrekov. During the same year, although leading the league for most of the year, Lokomotiv stumbled in the last games of the campaign, allowing CSKA overtake them and claim the title, with Lokomotiv ultimately falling to third. Estrekhov was later sacked and replaced by Slavoljub Muslin, the first foreign manager in the club's history. After a poor start to the new season, Lokomotiv recovered and finished third, but despite the respectable performance, Muslin was sacked; Anatoly Byshovets took the helm as his replacement, with Yury Semin returning to serve as team president. This brought little success to Lokomotiv, who finished the season in seventh, with the only bright spot being the victory of the Russian Cup. These poor performances prompted the board of directors to sack both coach Anatoly Byshovets and President Semin. Rinat Bilyaletdinov was subsequently named caretaker coach. This lasted until 6 December 2006, when Lokomotiv brought in Rashid Rakhimov from Amkar Perm on a three-year contract. Again, however, this resulted to be yet another poor decision from the board, as Lokomotiv only finished seventh in 2008, also beginning the 2009 season poorly. Unsurprisingly, on 28 April 2009, Lokomotiv fired Rakhimov; long-serving player Vladimir Maminov was installed as a caretaker manager. A month later, Semin was brought back to the club to take charge. This appointment delivered immediate success to Lokomotiv as after a really poor start, Lokomotiv recovered and finished the season on a high, claiming fourth place in the process.