England won 3-2 against Spain in Madrid to top Nations League Group A3.
Spain's unbeaten run in competitive matches ended at 44 games.
Harry Kane scored a penalty, while Ezri Konsa and Ben White also scored for England.
Mikel Oyarzabal and Nico Williams scored for Spain as they fought back.
England will be seeded for the quarter-finals in March.
Apex Sports News
England defeated Spain 3-2 in Madrid on Sunday, ending the world champions' 44-match unbeaten run in competitive matches and clinching top spot in Nations League Group A3.