Formerly an open loggia, it was rebuilt in the early 14th century as a market, and then as a church in 1380 converting its Gothic arches to the present ground-floor windows, and adding a granary upstairs.
Before it was a church, it had been a market and an open loggia.