Real Mallorca: From chaos to La Liga