 In late August 2009, Castro was again loaned by Deportivo and also in division two, now to Rayo Vallecano.For the second year in a row he repeated club position (11th) and goals scored (14), returning in June to the Galicians.In August 2010, Castro was sold to Real Betis for a fee of €1.7 million.