Jean-Philippe Mateta produced an injury-time winner for returning Crystal Palace boss Roy Hodgson against Leicester City.
Mateta pounced four minutes into injury-time to earn the 2-1 win for the hosts.
Before then, Leicester fullback Ricardo Pereira struck after halftime after being teed up by Timothy Castagne.
But Leicester's lead was cut short as Palace leveled just three minutes later via a scrappy Eberechi Eze free-kick. Eze's effort ricocheted off the crossbar and deflecting in off the back of Daniel Iversen.
Eagles captain Wilfried Zaha was forced off in the first half after pulling up with a groin injury.
Palace now sit five points clear of the drop zone in 12th, with Leicester one point adrift of safety in 18th.