Carlos Queiroz says he is quitting as Iran coach after his team's group-stage exit at the World Cup.

Bosnia-Herzegovina ended Iran's hopes of advancing to the knockout rounds with a 3-1 victory in Group F on Wednesday.

Queiroz announced his decision to quit shortly after the defeat, saying he was leaving because he failed to agree financial terms with Iranian football authorities.

Queiroz says "I did not see any commitment to extend the contract."

The 61-yers-old Portuguese manager took over in 2011 and led the team through qualifying.

He says, "I fell in love with Iran, but you can't have a marriage in which only one side wants to marry."

Among other teams, Queiroz has coached Portugal, Real Madrid and was Alex Ferguson's assistant manager at Manchester United.