 In July 2004, after having signed an extension with the "Merengues" the previous year, he was released and moved to another capital team, Getafe CF, making his La Liga debut on 12 September 2004 in a 1–2 home defeat to RCD Mallorca; on 13 March 2005 he scored against his former employer in a 2–1 home victory and, in his second season, netted eight league goals.In late June 2006, Riki moved to Deportivo de La Coruña on a five-year contract.During his first year he was an undisputed starter and, in the following campaign, he featured less prominently, but scored two more goals (five).