The Pest flood of 1838 destroyed the earlier church on Bakáts Square. Miklós Ybl designed its replacement, with a statue of Saint Francis above the entrance.