spell with Atromitos and even though he had agreed to a new deal after an eighth-place finish, he left for Standard Liège; in spite of initially underperforming in the Belgian League, he led his team to the conquest of the domestic cup in his first year as well as a final runner-up league position, but left on 20 May 2018. In August 2018, Sá Pinto was announced as the new manager of Legia Warsaw after signing a three-year contract with the Ekstraklasa club. He was sacked the following April with the team in second, five points off Lechia Gdańsk with three games remaining. Return to Portugal (2019–2022) On 3 July 2019, Sá Pinto returned to his country for the first time in four years, taking over S.C. Braga on a two-year deal. He was dismissed on 23 December with the team eighth in the league, despite winning their Europa League group. Sá Pinto was appointed at Campeonato Brasileiro Série A side CR Vasco da Gama on 13 October 2020, signing a contract until the end of the season. He was relieved of his duties on 29 December, with the side in the relegation zone. On 20 January 2021, Sá Pinto agreed to a two-and-a-half-year deal at Gaziantep F.K. of the Turkish Süper Lig. He left in May at the end of his first campaign, criticising his players, the club president and his predecessor Marius Șumudică. Sá Pinto became Moreirense FC's third coach of the season on 7 January 2022, following the dismissals of João Henriques and Vidigal. He led the team to 16th place after a 4–1 win over F.C. Vizela on the final day sent C.D. Tondela down instead, but was relegated in the promotion/relegation play-offs after a 2–1 aggregate loss to G.D. Chaves. He missed the play-offs after being issued with a 15-day suspension and €2,805 fine for provoking opposing fans after the Vizela game, and then called for his club's supporters to revolt against the local National Republican Guard captain; the force initiated criminal proceedings against him for this declaration. Days later, his contract was allowed to expire. Return to Asia (2022–) On 21 June 2022, Sá Pinto was appointed coach of Iranian club Esteghlal FC, signing a two-year contract. He won the domestic Supercup on 2 November after beating F.C. Nassaji Mazandaran 1–0, and dedicated the conquest to the "country's women and men who are suffering".