The Y-castle was probably built in the 12th century above Varnhalt, a well-known wine village near the spa town of Baden-Baden, by the Margrave of Baden. It consists of the west castle with the prominent tower and the east castle, which was probably added to in the 13th or 14th century. The castle, of which only a ruin remains today, had a special strategic role as it was intended to secure the south-western border of the Margraviate of Baden-Baden. The view of the nearby vineyards and the Black Forest from the castle ruins Y-Burg is particularly popular with tourists and can be enjoyed during a break in the castle’s own restaurant.