
It was the first time in his career that Real Madrid had a player sent off.
Vinicius Jr slid a cross into an empty net to give Real the win.
After Marco Asensio handled the ball, veteran Cristhian Stuani was able to score from the spot.
Rodrygo's goal was disallowed and he was shown a second yellow card.
Real is one point above Barcelona at the top after a draw, while Girona are in the bottom half of the table.
In the first half, both sides hit the woodwork, with Rodrygo's shot off the post and Yangel's strike hitting the bar.
After Rodrygo's opener, Girona didn't let their heads drop and got a penalty when Asensio handled the ball.
The man who just came on sent Thibaut Courtois the wrong way.
Since 1960, the oldest player to score against Real has been the 36-year old.
Rodrygo thought he had won the game for Real after the first attempt. It was ruled out due to the fact that Gazzaniga had control of the ball with his hand.
Real's first red card in La Liga in over a year came in the last moments of the game against Barcelona.