<Tr> <Td_colspan="2"> 2016--17 season </Td> </Tr> <P> The Spanish football champions are the winners of the primary football competition in Spain, La Liga . The league is contested on a round robin basis and the championship awarded to the team that is top of the league at the end of the season . La Liga, first established in 1929, originally contained ten teams . Before La Liga's organization, the Copa del Rey--a regionalised cup competition--was effectively the national championship . La Liga is contested in by 20 teams; the three lowest - placed teams are relegated to the Segunda División and replaced by the top three teams in that division . Of the founding teams in La Liga, only Real Madrid, Barcelona and Athletic Bilbao have not been relegated . The league was cancelled between 1936 and 1939 because of the Spanish Civil War . </P> <P> Real Madrid is the most successful club; they have won 33 titles, as of 2017 . The most recent club other than Real Madrid and Barcelona to win the league is Atlético Madrid in the 2013--14 season . With their 30 May Copa del Rey defeat of Athletic Bilbao, Barcelona has won the Spanish version of The Double the most times, having won the league and cup in the same year six times in its history, breaking its tie with Athletic's five . Barcelona is the only Spanish team that has won the Treble, which includes the UEFA Champions League along with the league and Copa del Rey, and the only UEFA club to have won the treble twice after accomplishing that feat in 2015 . The current champions are Real Madrid, who won the 2016--17 competition . </P> <Table> Key <Tr> <Td> </Td> <Td> Champions also won the Copa del Rey that season </Td> </Tr> <Tr> <Td> * </Td> <Td> Champions also won the Copa del Rey and UEFA Champions League that season </Td> </Tr> <Tr> <Td> † </Td> <Td> Champions also won the European Cup / UEFA Champions League that season </Td> </Tr> <Tr> <Td> ‡ </Td> <Td> Champions also won the UEFA Cup that season </Td> </Tr> </Table>

When was the last time real madrid won la liga title