The first written mention of the castle dates to 1222, when it guarded the trade route running from Mikulov toward Brno and Olomouc; that structure was destroyed before the century was out, and what stands today dates from the early 1300s. King John of Luxembourg handed the castle to Hartneider of Liechtenstein in 1334, and the family held it until 1560, when Kryštof of Liechtenstein, deep in debt, sold it to Ladislav Kerecsenyi; the Dietrichstein family took over an already-declining castle in 1575. Retreating Swedish troops plundered and burned Děvičky in 1645 during the Thirty Years' War. It was patched up and kept on as a watch post afterward, until a fire in 1744 ended its working life for good, and the last watchman died in 1784. Local legend explains the name: the three stone pillars standing below the ruin are said to be petrified maidens, giving the castle both its Czech name, Dívčí hrady, and its German one, Maidberg.