The tunnel is 90 metres long and follows the line of the castle's former eastern walls.
Construction of the Dark Gate started in 1824 by Alexander Rudnay, Archbishop of Esztergom, two years after the foundation stones of St. Adalbert's Basilica were laid.
Above the southern entrance, a Latin sign carved in red marble commemorates Archbishop Rudnay and the year of construction: "PRINCEPS PRIMAS ALEXANDER A RUDNA MDCCCXXIV" ("Prince Primate Alexander Rudnay 1824").
On 26 October 1956, fourteen people died in the Dark Gate when a T-34 tank shot into a bus heading towards the seminary, which was used as a Russian military facility at the time.
The Dark Gate, the seminary, and its surroundings were completely renovated by 2006, the 150th anniversary of the dedication of the cathedral.