Pedri suffered a left knee injury during Spain's European Championship quarter-final against Germany.
The 21-year-old midfielder was forced off the pitch after a heavy challenge from Toni Kroos.
What happened?
Pedri received treatment on the pitch before being substituted off in the eighth minute.
He was replaced by Dani Olmo, who has enjoyed a successful tournament despite limited minutes.
Pedri appeared visibly upset as he left the pitch, with Spanish fans questioning the lack of a yellow card for Kroos.
Why it matters for Pedri
The injury is a blow to Spain's hopes in the tournament, with Pedri a key player for the team.
He has seen his minutes managed carefully by head coach Luis de la Fuente during the Euros.
Pedri played 59 minutes in Spain's opening game against Croatia and 71 minutes against Italy.
What comes next?
Pedri will remain with the Spain team throughout the Euros, despite being diagnosed with a grade 2 internal lateral sprain.
The Spanish Football Federation confirmed the diagnosis on Saturday, the day after Spain's quarter-final win.
Spain will face France in their Euro 2024 semi-final on Tuesday, July 9, at Bayern Munich's Allianz Arena.
Pedri's injury will be a concern for the team, but they will be hopeful of progressing to the final.
The Spanish team has shown resilience in the tournament so far, with Olmo scoring off the bench against Georgia.
Pedri's absence will be felt, but the team will be looking to other players to step up and fill the gap.
The Euro 2024 semi-final against France will be a tough test for Spain, but they will be confident of getting a result.