The Santa Clara buildings were originally built by King Alfonso XI as his palace in 1344. His son Peter the Cruel had it embellished by Mudéjar artists, beautiful works at Santa Clara, though on a much smaller scale than they did in the Alcázar of Seville. The facade, a lovely small patio, a chapel and the baths remain of Peter the Cruel's palace. Blanche de Bourbon was held here after her abandonment by Peter for María de Padilla in 1353. The former portal, blocked off now, has a particularly fine Mudéjar doorway. In 1363 he ceded Santa Clara to two of his daughters by María de Padilla. They turned it into a convent, but it retained its role as a royal palace.
Santa Clara convent's saddest association is with Joanna I Queen of Castile and Aragon, the daughter of Isabella I of Castile and Ferdinand II of Aragon, widow of Philip I of Castile and mother of his six children including Charles V, Holy Roman Emperor - popularly known as Juana la loca (Joanna the mad) - who was confined here for almost half a century until her death in 1555.
References:The first written record of church in Danmark locality date back to the year 1291. Close to the church are several stones with a Christian text and cross inscribed. The oldest parts of the present red-brick church are from the 1300s. In the late 1400s the church was enlarged to the appearance it has today. The church has been modified both internally and externally several times, among other things after the fires in 1699 and 1889. There are lot of well-preserved mural paintings in the walls.