Uniejów Castle castle was built between 1360-1365 on the site of a former wooden fortress, destroyed after a raid by the Teutonic Knights in 1331. The initiator of the construction of the castle was Gniezno's Archbishop Jarosław Bogoria Skotnicki, one of the closest associates to Casimir III the Great.
The building was greatly expanded and modernised between 1525-1534, when after a fire most of the castle's Gothic characteristics had gone. The stronghold had ended's its militaristic significance in the seventeenth century, when the castle became a residence. In 1836 the castle was taken over by the House of Toll, an Estonian family. In 1848, Aleksander Toll had reconstructed the castle into a Classical architectural style. The castle in Uniejów is a prime example of accretion of architectural styles.
References:Doune Castle was originally built in the thirteenth century, then probably damaged in the Scottish Wars of Independence, before being rebuilt in its present form in the late 14th century by Robert Stewart, Duke of Albany (c. 1340–1420), the son of King Robert II of Scots, and Regent of Scotland from 1388 until his death. Duke Robert"s stronghold has survived relatively unchanged and complete, and the whole castle was traditionally thought of as the result of a single period of construction at this time. The castle passed to the crown in 1425, when Albany"s son was executed, and was used as a royal hunting lodge and dower house.
In the later 16th century, Doune became the property of the Earls of Moray. The castle saw military action during the Wars of the Three Kingdoms and Glencairn"s rising in the mid-17th century, and during the Jacobite risings of the late 17th century and 18th century.