text: 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 .
  
  ###
  
  The rebuilding process in 1380 to turn the market into a church was an arduous process with many setbacks .