Liverpool returned to the semifinals of the Champions League after comfortably beating Porto 4-1 on Wednesday, with attacking trio Sadio Mane, Mohamed Salah and Roberto Firmino grabbing a goal each.

Virgil van Dijk also scored for Liverpool, which advanced 6-1 on aggregate after winning the first leg 2-0 at home.

Porto started well and showed signs it might be able to reverse the first-leg deficit, but Liverpool took control after Mane scored a goal in the 26th minute that was confirmed by video review after being initially disallowed for offside.

Liverpool's Mohamed Salah, left, celebrates with teammates after scoring his side's second goal during the Champions League quarterfinals, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Luis Vieira)
Liverpool’s Mohamed Salah, left, celebrates with teammates after scoring his side’s second goal during the Champions League quarterfinals, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Luis Vieira)

Salah added to the lead in the 65th and Eder Militao scored for Porto in the 69th, but Firmino ended any doubts in the 77th and Van Dijk closed the scoring in the 84th.

Liverpool, which lost in the final last season, will now face Barcelona, which eliminated Manchester United 4-0 on aggregate on Tuesday.

___

Referee Danny Makkelie, center, gets VAR assistance about a goal scored by Liverpool's Sadio Mane during the Champions League quarterfinal, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Armando Franca)
Referee Danny Makkelie, center, gets VAR assistance about a goal scored by Liverpool’s Sadio Mane during the Champions League quarterfinal, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Armando Franca)
Liverpool's Sadio Mane, center, scores his side's opening goal during the Champions League quarterfinals, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Luis Vieira)
Liverpool’s Sadio Mane, center, scores his side’s opening goal during the Champions League quarterfinals, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Luis Vieira)
Liverpool's Mohamed Salah, left, fights for the ball with Porto defender Alex Telles during the Champions League quarterfinal, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Armando Franca)
Liverpool’s Mohamed Salah, left, fights for the ball with Porto defender Alex Telles during the Champions League quarterfinal, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Armando Franca)
Porto defender Alex Telles, left, and Liverpool's Trent Alexander-Arnold jump for the ball during the Champions League quarterfinal, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Armando Franca)
Porto defender Alex Telles, left, and Liverpool’s Trent Alexander-Arnold jump for the ball during the Champions League quarterfinal, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Armando Franca)
Liverpool's Mohamed Salah, left, challenges for the ball with Porto defender Pepe, right, and Porto midfielder Hector Herrera during the Champions League quarterfinal, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Armando Franca)
Liverpool’s Mohamed Salah, left, challenges for the ball with Porto defender Pepe, right, and Porto midfielder Hector Herrera during the Champions League quarterfinal, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Armando Franca)
Liverpool manager Juergen Klopp gives instructions to his players during the Champions League quarterfinals, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Luis Vieira)
Liverpool manager Juergen Klopp gives instructions to his players during the Champions League quarterfinals, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Luis Vieira)
Porto midfielder Hector Herrera, right, is challenged by Liverpool's James Milner during the Champions League quarterfinal, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Armando Franca)
Porto midfielder Hector Herrera, right, is challenged by Liverpool’s James Milner during the Champions League quarterfinal, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Armando Franca)
Liverpool's Sadio Mane, left, duels for the ball with Porto midfielder Danilo during the Champions League quarterfinals, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Luis Vieira)
Liverpool’s Sadio Mane, left, duels for the ball with Porto midfielder Danilo during the Champions League quarterfinals, 2nd leg, soccer match between FC Porto and Liverpool at the Dragao stadium in Porto, Portugal, Wednesday, April 17, 2019. (AP Photo/Luis Vieira)