CEIP San Ildefonso is the second oldest school in Madrid, Spain. Its origins date from 1543, the year in which Carlos V granted a Royal Certificate to finance the school. It is dedicated to Saint Ildephonsus. For years, it catered to orphans of public servants but now the pupils are regular Madrid children including many immigrants.