This building, to the invocation of Saint Bonaventure, a Franciscan convent was built under the initiative of Inácio Coelho, then vicar of Santa Cruz through funds he made available on 26 June 1641. Legend suggests that the church and convent were erected in order to fulfill a vow following the triumph of Portuguese forces over Spain during the Restoration War.