Cardiff City Football Club is a professional association football club based in Cardiff, Wales. The club was founded in 1899 as Riverside A.F.C., by members of a local cricket club, and joined the Cardiff & District League the following year. In 1907, they joined the South Wales Amateur League and changed their name to Cardiff City, later entering the English football pyramid by joining the Southern Football League in 1910. They were elected into the Football League ten years later, where they remain to this day. As of the end of the 2017–18 season, the club has won 3 division titles in the Football League, won promotion on 13 occasions and been relegated 12 times.