Cristiano Ronaldo scored a late penalty Thursday to help Juventus salvage a 1-1 draw at 10-man AC Milan in the first leg of their Italian Cup semifinal.

Ronaldo’s stoppage-time penalty canceled out Ante Rebic’s 62nd-minute opener for Milan, which will be without Zlatan Ibrahimović for the return fixture because of a suspension.

More Images
Juventus' Cristiano Ronaldo runs with the ball during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoAntonio Calanni)

Cristiano Ronaldo scored a late penalty Thursday to help Juventus salvage a 1-1 draw at 10-man AC Milan in the first leg of their Italian Cup semifinal.

Juventus' Cristiano Ronaldo, center, gestures prior an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoLuca Bruno)

There was heightened excitement at San Siro as it was the first time Ibrahimović and Ronaldo had faced off against each other since 2015, when Paris Saint-Germain played Real Madrid.

AC Milan's Zlatan Ibrahimovic, jumps for the ball by Juventus players during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoAntonio Calanni)

Both teams came into the match after disappointing results in Serie A. Juventus lost to Hellas Verona, allowing it to be caught at the top of the table by Inter Milan, which fought back from 2-0 down to beat Milan in the derby.

AC Milan's Zlatan Ibrahimovic gestures during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoLuca Bruno)

Ibrahimović again went close on the hour but Juventus goalkeeper Gianluigi Buffon tipped the Swede’s effort round the post.

AC Milan's Ante Rebic celebrates his goal against Juventus during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoAntonio Calanni)

And worse was to come as Ronaldo’s scissor-kick volley hit Calabria on the arm from point-blank range and the referee awarded a penalty after reviewing the incident on the pitchside monitor.

AC Milan's Ante Rebic, left, scores his side's opening goal during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoLuca Bruno)

AC Milan's Ante Rebic, left, scores his side's opening goal during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoLuca Bruno)

Milan defender Theo Hernández was sent off in the 71st following a second yellow card.

Juventus' Cristiano Ronaldo runs with the ball during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoAntonio Calanni)

Juventus' Cristiano Ronaldo runs with the ball during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoAntonio Calanni)

There was heightened excitement at San Siro as it was the first time Ibrahimović and Ronaldo had faced off against each other since 2015, when Paris Saint-Germain played Real Madrid.

Nearly 73,000 spectators were present — a record for an Italian Cup semifinal.

Ronaldo had barely a sight of goal at San Siro before his penalty. Ibrahimović went close on several occasions but was booked in the first half and will now miss the return match on March 4 as he had already received a yellow card in the competition — in the quarterfinal against Torino last month.

Juventus' Cristiano Ronaldo, center, gestures prior an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoLuca Bruno)

Juventus' Cristiano Ronaldo, center, gestures prior an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoLuca Bruno)

Both teams came into the match after disappointing results in Serie A. Juventus lost to Hellas Verona, allowing it to be caught at the top of the table by Inter Milan, which fought back from 2-0 down to beat Milan in the derby.

Milan was lively from the start and had two chances in the opening two minutes, with Franck Kessié firing narrowly wide moments after Ibrahimović had headed over the bar.

Juventus appeared sluggish and had to wait until the 36th minute for its first shot on target. Milan goalkeeper Gianluigi Donnarumma couldn’t keep hold of Juan Cuadrado’s shot but Kessié cleared the danger.

AC Milan's Zlatan Ibrahimovic, jumps for the ball by Juventus players during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoAntonio Calanni)

AC Milan's Zlatan Ibrahimovic, jumps for the ball by Juventus players during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoAntonio Calanni)

Ibrahimović again went close on the hour but Juventus goalkeeper Gianluigi Buffon tipped the Swede’s effort round the post.

Milan broke the deadlock two minutes later. Samuel Castillejo chipped in a cross that was probably meant for Ibrahimović, but it went over him and Rebic scuffed it into the bottom left corner.

Milan went down to 10 men shortly after when Hernández was shown a second yellow card for a foul on Paulo Dybala.

AC Milan's Zlatan Ibrahimovic gestures during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoLuca Bruno)

AC Milan's Zlatan Ibrahimovic gestures during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoLuca Bruno)

And worse was to come as Ronaldo’s scissor-kick volley hit Calabria on the arm from point-blank range and the referee awarded a penalty after reviewing the incident on the pitchside monitor.

Napoli plays Inter in the other semifinal. It won Wednesday’s first leg 1-0 at San Siro and hosts the return match on March 5.

More AP soccer: https://apnews.com/Soccer and https://twitter.com/AP_Sports

AC Milan's Ante Rebic celebrates his goal against Juventus during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoAntonio Calanni)

AC Milan's Ante Rebic celebrates his goal against Juventus during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoAntonio Calanni)

AC Milan's Ante Rebic, left, scores his side's opening goal during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoLuca Bruno)

AC Milan's Ante Rebic, left, scores his side's opening goal during an Italian Cup soccer match between AC Milan and Juventus at the San Siro stadium, in Milan, Italy, Thursday, Feb. 13, 2020. (AP PhotoLuca Bruno)