Home to the settlement Ala Nova of the Roman Empire, the city was first mentioned in a document in 1334. The meeting at Schwechat of Emperor Leopold I with Jan Sobieski in 1683, after the liberation of Vienna, is commemorated by an obelisk. The imperial troops defeated the Hungarian insurgents in a battle fought here in October 1848.