GENEVA — Liverpool's decline and fall from the European elite was confirmed Tuesday, as Basel held the host to a 1-1 draw at Anfield to reach the last 16 of the Champions League. The five-time European champion trailed Fabian Frei's 25th-minute strike, and had substitute Lazar Markovic sent off in the 60th, before captain Steven Gerrard's 81st-minute free kick sparked a frantic finish. Liverpool twice failed to beat Basel and was outclassed by Group B winner Real Madrid on returning from a five-year absence in a competition it once dominated, and twice reached the final when its inspirational captain was at his peak. “You always qualify over the six games and unfortunately we haven't been good enough,” Gerrard said. Madrid completed the only perfect group-stage record of six wins after Cristiano Ronaldo's penalty started a 4-0 rout of Ludogorets Razgrad. It also set a Spanish record of 19 straight wins in all competitions. Juventus advanced with typical Italian caution, drawing 0-0 at home to Atletico Madrid which topped Group A. Olympiakos beat Malmo 4-2, and is rewarded for a third-place finish by joining the last 32 of the Europa League. Monaco beat Zenit St. Petersburg 2-0 to win Group C, rising above Bayer Leverkusen which drew 0-0 at last-place Benfica. Borussia Dortmund won Group D by drawing 1-1 at home to Anderlecht. Runner-up Arsenal won 4-1 at Galatasaray. Arsenal is a near-permanent fixture in the last 16 but will once again be unseeded in the draw next Monday where Madrid and Bayern Munich are potential opponents. Liverpool is heading to the Europa League draw, also Monday, after completing its group program with just a single win — and that due to a stoppage-time penalty against Ludogorets. Another stoppage-time winner Tuesday would have sent Anfield into raptures but defender Martin Skrtel, playing as an emergency forward, poked a shot just wide of Basel's right-hand post. Switzerland's champion extended its impressive record against English clubs, three years after it beat Manchester United in a decisive group match and 12 years after getting a last-day draw it needed to oust Liverpool. Basel deservedly led through Frei's neat, left-foot shot from the edge of the penalty area and was helped in the second half when Markovic's raised right-arm was judged have struck chasing defender Behrang Safari in the face. Defending champion Madrid took advantage of Ludogorets forward Marcelinho being sent off for handball which allowed Ronaldo to score from the penalty spot in the 20th minute. His 72nd career Champions League goal trails Lionel Messi by two. Gareth Bale headed a second in the 38th, and a mismatch ended with late goals from Alvaro Arbeloa and Alvaro Medran. Juventus will could be Italy's only representative in the last 16 while Monaco gave resurgent France a second, joining Paris Saint-Germain which plays Barcelona Wednesday. Needing a draw to advance, a Monaco team which let superstar Colombia forwards Radamel Falcao and James Rodriguez leave in the offseason doubled its goal tally in the competition. Defenders got both goals in Monte Carlo, with center-back Aymen Abdennour scoring in the 63rd and full-back Fabinho in the 89th as Zenit pressed for goals. The Russian club now switches to the Europa League. Olympiakos was twice pegged back by visiting Malmo before Kostas Mitroglou and Ibrahim Afellay scored in the closing minutes to secure a 4-2 win. Arsenal threatened to humiliate Galatasaray after an opening goal from Lukas Podolski and two more from Aaron Ramsey earned a 3-0 lead within 29 minutes. Ramsey's second was a stunning left-footed, half-volley from distance. Netherlands veteran Wesley Sneijder scored late for the Istanbul club, before Podolski got his second in stoppage time. Dortmund needed a point to clinch the group and earned it through Ciro Immobile's 58th-minute goal. Aleksandar Mitrovic leveled in the 84th for Anderlecht which goes to the Europa League. — Agencies