Real Madrid forward Marco Asensio struck an 89th-minute volley to give the floundering European champions a badly-needed 1-0 win at Leganes on Thursday in their King's Cup quarter-final first leg.
Zinedine Zidane left out Cristiano Ronaldo and Gareth Bale in a largely second-string Real side but not even the injection of youth could breathe life into his team until Asensio's late goal ended a run of three games without a win.
Real struggled against a weakened Leganes team showing eight changes from the 3-2 La Liga defeat by Real Betis on Monday, indicating the host' lack of enthusiasm for the Cup despite supporters packing out their Butarque stadium.
Mateo Kovacic blasted Real's best chance wide before halftime and goalkeeper Kiko Casilla swatted away a Claudio Beauvue volley to deny Leganes shortly before Spain international Asensio met Theo Hernandez's cross at the near post and buried it low in the bottom corner.
The second leg at the Santiago Bernabeu is on 24 January.