but Queiroz resigned in March 2002 before the finals after falling out with the South African Football Association. Queiroz was part of FIFA XI coaching staff, alongside Brazilian Carlos Alberto Parreira, in a humanitarian friendly match played in war-torn Sarajevo against Bosnia and Herzegovina on 25 April 2000. Queiroz became a coach at English club Manchester United in June 2002. He began his work at the start of the 2002–03 season, working alongside Alex Ferguson, who had gone without an assistant manager since the departure of Steve McClaren in the middle of 2001. Real Madrid Queiroz's position at Manchester United as assistant manager attracted the attention of Real Madrid, who wanted Queiroz as their manager to replace departing manager Vicente del Bosque in the summer of 2003. It was an opportunity to work with FIFA World Player of the Year award winners Zinedine Zidane, Ronaldo and Luís Figo, an opportunity that Queiroz felt unable to turn down. He was appointed on a two-year contract, only a week after the arrival of Manchester United player David Beckham. Real Madrid got off to a good start of the 2003–04 season, defeating Mallorca in the Supercopa de España. By mid-season, the team topped the La Liga table and was in contention for the Copa del Rey and the UEFA Champions League trophies. However, they lost their final five matches and finished in fourth place, with Valencia winning the title. Real Madrid also disappointed in the Copa del Rey and the Champions League, ending the season with the Supercopa de España as the only trophy won. Following ten months at Real Madrid, Queiroz joined the long list of managerial failures at the Santiago Bernabéu Stadium, as he was sacked in May 2004. Return to Manchester United Queiroz returned to United as Ferguson's assistant in June 2004. Some sources noted the effect of his absence on the club's 2003–04 season, in which they came third in the league and exited early from the Champions League. In his 2014 autobiography, United captain Roy Keane stated that an argument with Queiroz about loyalty was one of the reasons why the Irishman quit the club in 2005. Keane said during ITV's coverage of the 2018 FIFA World Cup that "one of my big regrets is that I probably should have ripped his head off". Queiroz was linked with managerial roles with Portuguese side Benfica and the United States