Liverpool end long wait