The Kronborg Castle, in Danish: Kronborg Slot, is a fortress located in Helsingør, Denmark. The castle of Kronborg has for centuries been one of the most important Renaissance castles in Northern Europe and has been added to UNESCO's Heritage on November 30, 2000. The castle is also famous because William Shakespeare set his drama Hamlet: every summer is held in the inner courtyard a Shakespearean festival. The castle was built in the year 1420 by Danish king Eric of Pomeranian in order to control the passage of ships in the narrow, and then be able to collect the toll of access or exit from the Baltic Sea. The present name assumed it in 1585, when it was rebuilt by Frederick II of Denmark, which transformed it into a magnificent Renaissance castle, unique in its aspect and size throughout Europe. In 1629, due to the inattention of two workers, most of the castle went on fire, and only the Chapel was saved. Then Christian King IV of Denmark asked his real architect Hans van Steenwinckel the Younger to bring the castle back to its original magnificence, but ten years after the incident, the interiors were still incomplete. With the Scania War, the castle of Kronborg was conquered in 1658 by the Swedes led by Carl Gustaf Wrangel, and still devastated in the interior. This fact showed that the castle was very vulnerable, so the defenses were strengthened significantly. Between 1688 and 1690 an advanced line of defense consisted of a series of bastions, and shortly thereafter, a new set of bastions was erected around it. After the completion of the work, Kronborg was considered one of the most undeniable fortresses in Europe. From 1739 until the middle of the nineteenth century, Kronborg Castle was used as a prison for slaves. The slaves were captured males who had been sentenced to work within the castle fortifications. Prisoners were divided into two categories: those with minor convictions were classified as "honest" and allowed to work outside the castle walls; those with penis for violence, murder, arson were classified as "dishonest" and had to pay the entire punishment, doing hard physical work inside the castle walls. From January 17, 1772 to April 30, 1772, Kronborg was the prisoner of Queen Carolina Matilde of Wales, sister of George III. Subsequently Kronborg Castle lost its importance and was destined for strictly military purposes, so that from 1785 to 1922 it went under the direct military administration. During this period, a number of renovations were completed. Kronborg is also known by many as "Elsinore", the setting for the famous tragedy of Hamlet, Prince of Denmark, by William Shakespeare. The Hamlet was executed in the Royal Castle for the first time on the occasion of the 200th anniversary of William Shakespeare's death with a cast of soldiers. The stage was the telegraph tower in the southwest corner of the castle. The tragedy was then repeatedly performed in the courtyard and in various venues in the fortification. Subsequently a television version was filmed with Christopher Plummer. The castle welcomes a statue of Ogier the Danes. According to the legend, he still sleeps here, wrapped in his long beard, and wakes up only when Denmark is in serious danger, to save the nation.