Gonzalo Garcia's 93rd-minute header safed Real Madrid's 3-2 win over Leganes, advancing them to the Copa del Rey semifinals.