He began his career with the reserve teams of Real Madrid, but made a name for himself at Espanyol. In 2011 he returned to his previous club and, two years later, left for Napoli, where he won two Coppa Italia tournaments and the 2014 Supercoppa Italiana while appearing in 349 competitive matches (82 goals scored).