With a vital 3-1 victory over the leaders on Sunday, Arsenal broke open the Premier League title race by punishing Liverpool keeper Alisson Becker's howler.
To the joy of the noisy Arsenal supporters crammed into the Emirates Stadium, Martinelli scored after Alisson utterly mishandled his clearance in the second half. Bukayo Saka had given Mikel Arteta's team the lead early on, but Gabriel Magalhaes's odd own goal late in the first half gave Liverpool an equalizer. Leandro Trossard scored Arsenal's third goal in stoppage time to seal the victory following Ibrahima Konate, a Liverpool defender, being sent off in the last moments of play.
After 23 games apiece, Arsenal's crucial win put them two points behind Liverpool in second place.
It was Liverpool's first home loss in all competitions since their Premier League loss to Tottenham in September, which was just across the border in north London.
The crushing loss for Liverpool also served as motivation for champions Manchester City, who visit Brentford on Monday.
Although City trails Liverpool by five points, they still have two games remaining and will take the lead if they win both.