The Royal Spanish Gymnastics Federation (Spanish: Real Federación Española de Gimnasia, RFEG) is the highest national gymnastics body in Spain. Its headquarters are in Madrid and its current president is Jesús Carballo. Founded by Narciso Masferrer in 1899 as the Spanish Gymnastic Federation, it is the second oldest Federation in Spain, behind the cycling one. The federation was one of the most important entities in the amateur beginnings of Football in Spain because it acted as the Spanish Football Federation until 1904.