 His father, Gabriel de Güemes Montero, born in Santander, in the Spanish province of Cantabria, was a learned man and was serving as royal treasurer of the Spanish crown.He got his son to have a good education with private teachers who taught him philosophical and scientific knowledge of his time.His mother was María Magdalena de Goyechea y la Corte, born in Salta.