This painting is from the Hall of the Realms in the Buen Retiro Palace and it belongs to the same series as Velázquez's Surrender of Breda.