He became manager of Cardiff City in November 1973, but in April 1974 quit to take the manager's post with the Iranian national team. He began his tenure with seven consecutive wins, leading them to the gold medal at the 1974 Asian Games and qualification for the Montreal Olympics. In January 2006, O'Farrell was invited to Iran to attend a ceremony in honour of Persepolis' former players, along with Alan Rogers.