Santiago del Arrabal was built in 1245-1248 at the orders of Sancho II on the site of an older church and a mosque that is known to have been used since 1125. Many characteristics of the mosque have remained in the present building which is built in the Mudéjar architectural style. The church is named after Saint James (Santiago) of the outskirts (Arrabal). The patrons of the church during its foundation were members of the Diosdado family, knight commanders of the Order of Santiago.
References:The Chapel of St. Martin is the only completely preserved Romanesque building in Vyšehrad and one of the oldest in Prague. In was built around 1100 in the eastern part of the fortified outer ward. Between 1100 and 1300, the Rotrunda was surrounded by a cemetery. The building survived the Hussite Wars and was used as the municipal prison of the Town of the Vyšehrad Hill.
During the Thirty Years’ War, it was used as gunpowder storage, from 1700 to 1750, it was renovated and reconsecrated. In 1784, the chapel was closed passed to the military management which kept using it as a warehouseand a cannon-amunition manufacturing facility. In 1841, it was meant to be demolished to give way to the construction of a new road through Vyšehrad. Eventually, only the original western entrance was walled up and replaced with a new one in the sountren side. The dilapidating Rotunda subsequently served as a shelter for the poor.