Tradition has it that this was built when the statue of the Madonna was discovered in the sea after the infields had tried unsuccessfully to carry it off during the Turkish raids of the mid-sixteenth century. The church was built prior to 1418, as evidenced by a written on the fresco above the altar. The church is documented especially from 1583 onwards, when there was an order of brothers here. Records of the apostolic visit of 1612 refer to the church as 'recently built', with a confessional and a burial ground for sailors. It has two doors and a bell tower above. It has been established that the sacristy and an oil panting date from 1742, and records state that the church was built with contributions from seafarers.By 1875, in addition to the bell tower with its two bells, the organ, the pulpit and the clock, there was a marble sanctuary with a brass gate and altar rails, as well as a framed statue. In 1905, a wooden statue and a third door had been added. A few years later, in 1913, this church and others were closed, when they were occupies by soldiers sheltering from torrential rain.
The Clementinum is a historic complex of buildings in Prague. Until recently the complex hosted the National, University and Technical libraries, the City Library also being located nearby on Mariánské Náměstí. The Technical library and the Municipal library have moved to the Prague National Technical Library at Technická 6 since 2009. It is currently in use as the National Library of the Czech Republic.
Its history dates from the existence of a chapel dedicated to Saint Clement in the 11th century. A Dominican monastery was founded in the medieval period, which was transformed in 1556 to a Jesuit college. In 1622 the Jesuits transferred the library of Charles University to the Klementinum, and the college was merged with the University in 1654. The Jesuits remained until 1773, when the Klementinum was established as an observatory, library, and university by the Empress Maria Theresa of Austria.