Arturo VIdal, left, celebrates scoring a goal as part of his hat trick in Juventus' Champions League win over Copenhagen.
Massimo Pinca/AP

TURIN, Italy (AP) - Arturo Vidal scored a hat trick to lead Juventus to a 3-1 win over Copenhagen on Wednesday to boost the Italian side's hopes of qualifying for the Champions League knockout stages.

Vidal broke the deadlock in the 28th minute from the penalty spot after Lars Jacobsen had handled in the area.

Former Juventus defender Olof Mellberg swiftly went from hero to villain for Copenhagen when he equalized in the 56th before giving away a penalty four minutes later when he brought down Fernando Llorente.

Vidal again converted and headed home two minutes later to complete his hat trick.

In Group B's other match, Real Madrid beat Galatasaray 4-1. Juventus moved second, two points ahead of Galatasaray, which it plays in the next and final group round.

Juventus, which was yet to win a match in this season's Champions League, had its first opportunity in the sixth minute when Paul Pogba carved out some space for himself at the edge of the area, but his effort was too weak and Copenhagen goalkeeper Johan Wiland was able to gather it comfortably.

Carlos Tevez volleyed wide shortly after. The Juventus striker was furious with the referee for awarding a goal kick as his shot had been deflected past the left upright.

Juventus was pressing but failing to create clear-cut opportunities against a Copenhagen side rooted mainly inside its own half.

Knowing they needed to win, Antonio Conte's men began to look nervy as the minutes ticked by before a moment of madness from Jacobsen, which saw Andrea Pirlo's ball for Pogba land on the Copenhagen defender's outstretched arms.

Wiland guessed the right way, but could do nothing to prevent Vidal's powerful penalty from going into the bottom right corner.

Pogba went close to doubling Juventus' lead shortly before halftime when he curled an effort into the side netting.

Copenhagen almost leveled immediately after the break as the ball ricocheted around the six-yard box but Ragnar Sigurdsson failed to get the final touch.

Juventus was looking dangerous as first Tevez blasted over before Asamoah had a shot blocked.

However, it was Copenhagen which scored, with its first shot on target, as the Juventus defense failed to deal with a throw-in and Melberg headed home. The defender, who spent a season at Juventus, didn't celebrate.

Melberg gave away a penalty on the hour mark, when he wrestled Llorente to the ground. Vidal again fired into the bottom left corner, this time sending Wiland the wrong way, to restore Juventus' lead.

The Chile midfielder became the third Juventus player to score a hat trick in the Champions League - after Filippo Inzaghi and Alessandro Del Piero - when he sent a looping header into the far top corner from a Pogba cross.

Juventus now needs only a point in Istanbul to secure progression to the next round.

Copyright 2014 Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.

SI Apps
We've Got Apps Too
Get expert analysis, unrivaled access, and the award-winning storytelling only SI can provide - from Peter King, Tom Verducci, Lee Jenkins, Seth Davis, and more - delivered straight to you, along with up-to-the-minute news and live scores.