The University of Salamanca (Spanish: Universidad de Salamanca) is a Spanish higher education institution, located in the city of Salamanca, west of Madrid, in the autonomous community of Castile and León. It was founded in 1134 and given the Royal charter of foundation by King Alfonso IX in 1218. It is the oldest university in the Hispanic world and the third oldest university in the entire world still in operation. The formal title of "University" was granted by King Alfonso X in 1254 and recognized by Pope Alexander IV in 1255.
Its origin, like all older universities, was a Cathedral School, whose existence can be traced back to 1130. The university was founded in 1134 and recognized as a "General School of the Kingdom" by the Leonese King Alfonso IX in 1218. Granted Royal Chart by King Alfonso X, dated 8 May 1254, as the University of Salamanca this established the rules for organization and financial endowment.
On the basis of a papal bull by Alexander IV in 1255, which confirmed the Royal Charter of Alfonso X, the school obtained the title of University.