Malaga became the first side in Europe’s top five leagues to be relegated