Manchester City's stuttering title defence suffered another blow as Michael Olise's 95th-minute penalty rescued a dramatic point for Crystal Palace.
City had led 2-0 through goals by Jack Grealish and Rico Lewis and appeared to be cruising to victory until Jean-Philippe Mateta pulled a goal back with 14 minutes remaining.
There was more drama to come in stoppage time, when Kyle Walker caught Mateta as he attempted to clear and referee Paul Tierney pointed to the spot.
Michael Olise stepped up to slot past Ederson and spark wild celebration among the away fans who had seen their team pegged back for much of the match.