Helsingør (English Elsinore) is a town and seaport in eastern Denmark's Frederiksborg County, Sjælland (Zealand), near Copenhagen. Helsingør, with Kronborg Castle east of the town, is famous as the locale of Shakespeare's Hamlet. The castle, built during the 16th century, is now used chiefly as a maritime museum. Helsingør has a fine harbor, equipped with dry docks for the repair of ships. A railway ferry joins Helsingør with Helsingborg, Sweden, across the Øresund.