In the eighteenth century some parish priests from the Church of the Holy Spirit of Esparza City, accompanied by natives of Salamanca, were heading to the city of Cartago.
They built a small chapel that was dedicated to the Virgen del Pilar, whose image had been given to them by Bishop Hall.