The convent was established in 1570 by the merchant, Ildefonso Alvarez, who possessed an altarpiece of the
Virgin Magdalena. Alvarez took refuge in the area's caves and lived like a hermit. In the following three years, he struggled to pay his debts and eventually attracted the attention of the Christian community who helped him. In 1585, construction started on a small chapel in the area. In 1648 the place became renowned for the healing from the plague by Father Cardenas, a pastor of
Seville who had journeyed to the little church. Fame and abundant alms sowed corruption among hermits. In 1685, the hermits were expelled by order of the
Bishop of Málaga. The order of the
Discalced Franciscans took over the management of the church in 1691 and began construction of the new convent. In 1761 the guardian of the convent was reported to be Fr. Juan Gomez. The convent was abandoned in the mid-19th century. ==Hotel==