Fábio Vieira scored early and Sérgio Oliveira struck late in the game as Porto beat Olympiakos 2-0 in the Champions League on Tuesday.

It was the 100th victory for Porto in the European Cup and Champions League.

More Images
Porto's Otavio jumps for the ball with Olympiacos' Andreas Bouchalakis, center right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Fábio Vieira scored early and Sérgio Oliveira struck late in the game as Porto beat Olympiakos 2-0 in the Champions League on Tuesday.

Olympiacos' Youssef El-Arabi controls the ball during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Vieira scored with a low shot from near the penalty spot in the 11th minute after Olympiakos captain Andreas Bouchalakis gave the ball away near the area.

Olympiacos' Ruben Semedo, left, controls the ball next to Porto's Moussa Marega during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

“We lost by details," Olympiakos defender Rúben Semedo said. “We had a large part of the possession ... many chances, but we did not score and Porto were better in both of the major chances they had on our goal. We have to learn from this game in order not to make the same mistakes again."

Olympiacos' Mathieu Valbuena reacts during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

In the next round in November, Porto hosts Marseille and Olympiakos visits Manchester City.

Olympiacos' Mathieu Valbuena reacts next to Porto's Fabio Vieira, right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Mathieu Valbuena reacts next to Porto's Fabio Vieira, right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Andreas Bouchalakis heads the ball during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Andreas Bouchalakis heads the ball during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Porto's Jesus Corona vies for the ball with Olympiacos' Jose Holebas, right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Porto's Jesus Corona vies for the ball with Olympiacos' Jose Holebas, right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Youssef El-Arabi vies for the ball with Porto's Pepe, right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Youssef El-Arabi vies for the ball with Porto's Pepe, right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Porto's Pepe celebrates with teammate Zaidu Sanusi, right, at the end of the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. Porto won 2-0. (Miguel Riopa, Pool via AP)

Porto's Pepe celebrates with teammate Zaidu Sanusi, right, at the end of the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. Porto won 2-0. (Miguel Riopa, Pool via AP)

The win moved the Portuguese club to second place in Group C, behind Manchester City, which defeated last-place Marseille 3-0 in the other group match.

Porto's Otavio jumps for the ball with Olympiacos' Andreas Bouchalakis, center right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Porto's Otavio jumps for the ball with Olympiacos' Andreas Bouchalakis, center right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Vieira scored with a low shot from near the penalty spot in the 11th minute after Olympiakos captain Andreas Bouchalakis gave the ball away near the area.

“I worked hard for this,” the 20-year-old Vieira said. “I deserved an opportunity and I'm happy to have scored my first goal in the Champions League.”

Oliveira sealed the victory in the 85th with a header into the far corner.

Olympiacos' Youssef El-Arabi controls the ball during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Youssef El-Arabi controls the ball during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

“We lost by details," Olympiakos defender Rúben Semedo said. “We had a large part of the possession ... many chances, but we did not score and Porto were better in both of the major chances they had on our goal. We have to learn from this game in order not to make the same mistakes again."

A few thousand fans were allowed into the match at the Estádio do Dragão.

Porto defender Pepe, a former Real Madrid player, made his 100th Champions League appearance.

Olympiacos' Ruben Semedo, left, controls the ball next to Porto's Moussa Marega during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Ruben Semedo, left, controls the ball next to Porto's Moussa Marega during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

In the next round in November, Porto hosts Marseille and Olympiakos visits Manchester City.

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

Olympiacos' Mathieu Valbuena reacts during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Mathieu Valbuena reacts during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Mathieu Valbuena reacts next to Porto's Fabio Vieira, right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Mathieu Valbuena reacts next to Porto's Fabio Vieira, right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Andreas Bouchalakis heads the ball during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Andreas Bouchalakis heads the ball during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Porto's Jesus Corona vies for the ball with Olympiacos' Jose Holebas, right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Porto's Jesus Corona vies for the ball with Olympiacos' Jose Holebas, right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Youssef El-Arabi vies for the ball with Porto's Pepe, right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Olympiacos' Youssef El-Arabi vies for the ball with Porto's Pepe, right, during the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. (Miguel Riopa, Pool via AP)

Porto's Pepe celebrates with teammate Zaidu Sanusi, right, at the end of the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. Porto won 2-0. (Miguel Riopa, Pool via AP)

Porto's Pepe celebrates with teammate Zaidu Sanusi, right, at the end of the Champions League group C soccer match between FC Porto and Olympiacos at the Dragao stadium in Porto, Portugal, Tuesday, Oct. 27, 2020. Porto won 2-0. (Miguel Riopa, Pool via AP)