The Spain Under-21 international has agreed a deal until 2029.