He started his career with Envigado, then had a short spell in Argentina, and played two years in France with Saint-Étienne. He made a name for himself with Porto in Portugal, where he spent four seasons and won ten major titles, including three Primeira Liga championships and the 2011 Europa League.