CHELSEA’S Kai Havertz celebrates scoring their second goal with teammates. — REUTERS/HANNAH MCKAY

LONDON — Chelsea reached the Champions League quarterfinals as a first-half goal from Raheem Sterling and a controversial penalty by Kai Havertz overturned a first-leg deficit on Tuesday and propelled them to a 2-1 aggregate win over Borussia Dortmund.

Just as they had in Germany three weeks ago when Dortmund won 1-0, 2021 champions Chelsea squandered chance after chance in the first half, with Germany’s Mr. Havertz hitting the post as well as the side netting.

Portugal loanee Joao Felix and defender Kalidou Koulibaly also went close and Mr. Sterling had efforts blocked.

But in the 43rd minute Ben Chilwell crossed into the box and found England team mate Mr. Sterling.

Mr. Sterling airkicked his first effort, then sidestepped Marco Reus and sent his second high into the net to put the teams level on aggregate.

“It was a massive performance,” Mr. Sterling told BT Sport. “We had to dig deep. We took our chances. We felt as a team we could do it.”I had a little mis-kick with the first touch but it landed perfectly and allowed us to build on that for our performance.”

Early in the second half a Chilwell cross smacked into the outstretched hand of defender Marius Wolf and Dutch referee Danny Makkelie gave the penalty after being called to the VAR screen. Mr. Havertz, taking over as penalty taker from Jorginho who moved to Arsenal in January, hit the keeper’s left-hand post to the relief of the visitors.

The game resumed for a few seconds until VAR alerted Makkelie that Dortmund players had encroached into the area.

Havertz retook the kick and sent the ball the same way but this time it squeezed inside the post to put Chelsea ahead in the tie in the 53rd minute.

“I don’t know what I was thinking (when it hit the post) but the referee let me retake the penalty,” Mr. Havertz said. “I was a bit nervous but I scored. I tried to wait and look at the keeper and the second one was a bit easier.”

It was Dortmund’s first defeat following wins in their previous 10 matches and a boost for Chelsea, who have struggled for form under Graham Potter since the turn of the year, dropping to 10th place in the Premier League and losing early in their two domestic cups.

A smiling Mr. Potter punched the air and applauded the crowd as his team acknowledged the cheers.

“There was a fantastic feeling in the dressing room,” he said. “We have been through a tough period and this competition means a lot for us. We wanted to progress and get into the last eight and it sets us up for the next few weeks.”

He said he had confidence in Mr. Havertz to score but was too nervous to watch.

“I wasn’t watching it but delighted when I heard the roar.

“Taking penalties is not for me, so I am in awe of anybody (who does).” — Reuters