Its original construction dates back to the middle of the 16th century on the hill of Santa Ana, and it was made of 100% wood. From that time to the present day, it has been dedicated to the Apostle Santiago, the patron saint of the city. At the end of the 17th century, several fires devastated the city, one of which, in 1692, destroyed the wooden church.