The first mention of Sanok is found in 12th-century chronicles. The stronghold was destroyed in the 13th century during the Tatar invasion in 1241. In the 14th century the town of Sanok became fortified and a defensive castle was built.
During the reign of King Władysław Jagiełło, his wedding with Elisabeth of Pilica took place at the castle on May 2, 1417. The town and district authorities with a castellan at the top had their seat at the Sanok castle. In 1425, it was established the Higher Court of German law at the Sanok Castle. It was also a residence of the King's fourth wife Sophia of Halshany until her death in 1461.
Queen Bona Sforza ordered the rebuilding of the Gothic castle in the Renaissance style between 1523-1548. Between 1555-1556, the castle was the seat of Isabella Jagiellon, Queen of Hungary, after her escape from Transylvania. At the end of the 16th century, the castle underwent further expansion: the south wing was built at that time. At the turn of the 18th century the north wing was added. During the Napoleonic Wars, the castle was successfully defended against the Austrian forces by General Franciszek Ksawery Krasicki, who was the leader of the anti-Austrian uprising in the Sanok Region.
In 1915, after the Russian invasion, the South wing was demolished. In the interwar period the castle served as the Museum of Sanok. The Museum, established in 1934 by the Society of Friends of the Region of Sanok, had at first collections of the Sanok region, weapons and arms — the history of the town and castle of Sanok, furniture, artistic craftsmanship. With the beginning of World War II in September 1939, the castle was ransacked. In August 1944, the local German authorities looted the oldest surviving monuments of Polish culture, some of which were retrieved by the Polish Government after the war. Its collections were transferred to the castle where, since 1945, they have formed part of the Historical Museum, added to the latter's collection are some 200 icons from Lemko villages.References:
Dating from the 15th century, Kisimul is the only significant surviving medieval castle in the Outer Hebrides. It was the residence of the chief of the Macneils of Barra, who claimed descent from the legendary Niall of the Nine Hostages. Tradition tells of the Macneils settling in Barra in the 11th century, but it was only in 1427 that Gilleonan Macneil comes on record as the first lord. He probably built the castle that dominates the rocky islet, and in its shadow a crew house for his personal galley and crew. The sea coursed through Macneil veins, and a descendant, Ruari ‘the Turbulent’, was arrested for piracy of an English ship during King James VI’s reign in the later 16th century.
Heavy debts eventually forced the Macneil chiefs to sell Barra in 1838. However, a descendant, Robert Lister Macneil, the 45th Chief, repurchased the estate in 1937, and set about restoring his ancestral seat. It passed into Historic Scotland’s care in 2000.
The castle dates essentially from the 15th century. It takes the form of a three-storey tower house. This formed the residence of the clan chief. An associated curtain wall fringed the small rock on which the castle stood, and enclosed a small courtyard in which there are ancillary buildings. These comprised a feasting hall, a chapel, a tanist’s house and a watchman’s house. Most were restored in the 20th century, the tanist’s house serving as the family home of the Macneils. A well near the postern gate is fed with fresh water from an underground seam. Outside the curtain wall, beside the original landing-place, are the foundations of the crew house, where the sailors manning their chief’s galley had their quarters.