The Third Defenestration of Prague in 1618 took place at the castle and began the Bohemian Revolt. During the subsequent wars, the Castle was damaged and dilapidated. Many works from the collection of Rudolph II were looted by Swedes in 1648, in the Battle of Prague (1648) which was the final act of the Thirty Years' War.