Blije is known to have had a church ever since the early 13th century, which in catholic times was dedicated to St. Nicolaas. Of the original Romanesque church built in that century only the tower remains. The church itself was replaced by the current Gothic one in the 16th century. It's a rather big church for such a small village, a reminder of the time when Blije was a place of larger regional importance.
Various sources state that the church was built in c. 1540, but it is unknown what part of the church this date refers to; not only is there a small gap between the nave and the choir, the windows of the choir are narrower as well, giving reason to believe the choir was built first, perhaps when the old and shorter church was still standing. Probably in 1737 the roof of the nave was heightened with 3.50 metres, The tower was heightened shortly after, in c. 1741.
References:Ogrodzieniec Castle is a ruined medieval castle originally built in the 14th–15th century by the W³odkowie Sulimczycy family. Established in the early 12th century, during the reign of Boles³aw III Wrymouth, the first stronghold was razed by the Tatars in 1241. In the mid-14th century a new gothic castle was built here to accommodate the Sulimczycy family. Surrounded by three high rocks, the castle was well integrated into the area. The defensive walls were built to close the circuit formed by the rocks, and a narrow opening between two of the rocks served as an entrance.
In 1470 the castle and lands were bought by the wealthy Cracovian townsmen, Ibram and Piotr Salomon. Then, Ogrodzieniec became the property of Jan Feliks Rzeszowski, the rector of Przemy¶l and the canon of Cracow. The owners of the castle about that time were also Jan and Andrzej Rzeszowskis, and later Pilecki and Che³miñski families. In 1523 the castle was bought by Jan Boner.