Jose Mourinho ended his spell in charge of Real Madrid as the capital outfit welcomed Osasuna to the Bernabeu on Saturday.
The home side had to wait until the 35th minute for Gonzalo Higuain to send them into the lead, but it was 2-0 moments later when Michael Essien headed home from inside the box.
Osasuna had one back early in the second half when Roberto Torres found the top corner from outside the box, before Alvaro Cejudo levelled with 63 minutes on the clock.
Karim Benzema made it 3-2 for the home side, however, with a cool finish from inside the box after 69 minutes, before Jose Callejon added their fourth late on.
Read how it all unfolded in Sports Mole's minute-by-minute live commentary of the action below.
MADRID: Jesus; Essien, Albiol, Carvalho, Arbeloa; Di Maria, Ozil, Modric, Callejon; Benzema, Higuain
OSASUNA: Riesgo; Ruben, Oier, Cejudo, Torres; Armenteros, Timor, Nano, Silva; Llorente, Unai Garcia