The church was built by the Portuguese in 1521, but when the Dutch came in, they made it part of A Famosa, converting the altar into a cannon mount. The open tomb inside was once the resting place of St. Francis Xavier, a missionary who spread Catholicism throughout Southeast Asia and whose remains were later moved to Goa.