Mats Hummels scored an own-goal and France beat Germany 1-0 Tuesday at the European Championship.

The experienced defender was attempting to stop Lucas Hernández’s cross from reaching France forward Kylian Mbappé when he diverted the ball into his own net in the 20th minute.

More Images
France's Karim Benzema runs to celebrate scoring a goal that was overturned for an offside during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

Mats Hummels scored an own-goal and France beat Germany 1-0 Tuesday at the European Championship.

France's Karim Benzema runs to celebrate scoring a goal that was overturned for an offside during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

France twice put the ball in the net in the second half but both were called back for offside. Mbappé sent a curling shot inside the far post midway through the half and then set up Karim Benzema for another late in the match.

France's Karim Benzema runs to celebrate scoring a goal that was overturned for an offside during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

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

Germany's Mats Hummels, right, challenges France's Kylian Mbappe during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

Germany's Mats Hummels, right, challenges France's Kylian Mbappe during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

France's Kylian Mbappe, right, and Germany's Mats Hummels battle for the ball during the Euro 2020 soccer championship group F match between France and Germany at the Allianz Arena in Munich, Germany, Tuesday, June 15, 2021. (AP PhotoMatthias Schrader, Pool)

France's Kylian Mbappe, right, and Germany's Mats Hummels battle for the ball during the Euro 2020 soccer championship group F match between France and Germany at the Allianz Arena in Munich, Germany, Tuesday, June 15, 2021. (AP PhotoMatthias Schrader, Pool)

France's Kylian Mbappe, right, and Germany's Mats Hummels battle for the ball during the Euro 2020 soccer championship group F match between France and Germany at the Allianz Arena in Munich, Germany, Tuesday, June 15, 2021. (AP PhotoMatthias Schrader, Pool)

France's Kylian Mbappe, right, and Germany's Mats Hummels battle for the ball during the Euro 2020 soccer championship group F match between France and Germany at the Allianz Arena in Munich, Germany, Tuesday, June 15, 2021. (AP PhotoMatthias Schrader, Pool)

Germany's Mats Hummels, right, challenges France's Kylian Mbappe during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

Germany's Mats Hummels, right, challenges France's Kylian Mbappe during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

France's Kylian Mbappe, left, and Germany's Mats Hummels, right, challenge for the ball during the Euro 2020 soccer championship group F match between France and Germany at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (AP PhotoAlexander Hassenstein, Pool)

France's Kylian Mbappe, left, and Germany's Mats Hummels, right, challenge for the ball during the Euro 2020 soccer championship group F match between France and Germany at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (AP PhotoAlexander Hassenstein, Pool)

Both teams had chances to score. İlkay Gündoğan wasted Germany’s best opportunity of the first half when he couldn’t direct his shot on target.

France's Karim Benzema runs to celebrate scoring a goal that was overturned for an offside during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

France's Karim Benzema runs to celebrate scoring a goal that was overturned for an offside during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

France twice put the ball in the net in the second half but both were called back for offside. Mbappé sent a curling shot inside the far post midway through the half and then set up Karim Benzema for another late in the match.

Germany had never previously lost an opening game in the group stage at the European Championship.

Before the match started, a Greenpeace protestor parachuted into the stadium.

France's Karim Benzema runs to celebrate scoring a goal that was overturned for an offside during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

France's Karim Benzema runs to celebrate scoring a goal that was overturned for an offside during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

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

Ciarán Fahey on Twitter: https://twitter.com/cfaheyAP

France's Karim Benzema runs to celebrate scoring a goal that was overturned for an offside during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

France's Karim Benzema runs to celebrate scoring a goal that was overturned for an offside during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

Germany's Mats Hummels, right, challenges France's Kylian Mbappe during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

Germany's Mats Hummels, right, challenges France's Kylian Mbappe during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

France's Kylian Mbappe, right, and Germany's Mats Hummels battle for the ball during the Euro 2020 soccer championship group F match between France and Germany at the Allianz Arena in Munich, Germany, Tuesday, June 15, 2021. (AP PhotoMatthias Schrader, Pool)

France's Kylian Mbappe, right, and Germany's Mats Hummels battle for the ball during the Euro 2020 soccer championship group F match between France and Germany at the Allianz Arena in Munich, Germany, Tuesday, June 15, 2021. (AP PhotoMatthias Schrader, Pool)

France's Kylian Mbappe, right, and Germany's Mats Hummels battle for the ball during the Euro 2020 soccer championship group F match between France and Germany at the Allianz Arena in Munich, Germany, Tuesday, June 15, 2021. (AP PhotoMatthias Schrader, Pool)

France's Kylian Mbappe, right, and Germany's Mats Hummels battle for the ball during the Euro 2020 soccer championship group F match between France and Germany at the Allianz Arena in Munich, Germany, Tuesday, June 15, 2021. (AP PhotoMatthias Schrader, Pool)

Germany's Mats Hummels, right, challenges France's Kylian Mbappe during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

Germany's Mats Hummels, right, challenges France's Kylian Mbappe during the Euro 2020 soccer championship group F match between Germany and France at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (Franck FifePool via AP)

France's Kylian Mbappe, left, and Germany's Mats Hummels, right, challenge for the ball during the Euro 2020 soccer championship group F match between France and Germany at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (AP PhotoAlexander Hassenstein, Pool)

France's Kylian Mbappe, left, and Germany's Mats Hummels, right, challenge for the ball during the Euro 2020 soccer championship group F match between France and Germany at the Allianz Arena stadium in Munich, Tuesday, June 15, 2021. (AP PhotoAlexander Hassenstein, Pool)