According to monastic records, construction of the Franciscan compound in Medias, Romania, began in 1444. The compound includes a monastery, the church (which you can see in the photos shown here) and various annexes. In 1556, after the formerly-Catholic townspeople joined the Reformation, the monks were run out of town, and the buildings were used for various lowly purposes, such as stables, etc.
On a side note, I’m not a Catholic, but it seems to me that using a church as a stable just shouldn’t be done, no matter what its denomination may be.
In 1721, the buildings and the site were returned to the Franciscan order, and monks were invited back into the city, although by now the buildings were run-down and in desperate need of serious renovations. The church, originally of Gothic architecture, gained Baroque stylings on the inside, and the other buildings were re-built as needed.
The church doors were built in 1764, according to the numbers carved unto them.
Nowadays, part of the monastery’s compound is being used by the Medias Municipal Museum, and in the last few years, a Hungarian school has been built on the monastery’s land. The school is scheduled to go into use this fall.
There’s more information on the monastery’s history (in Romanian).