//
The building was built towards the end of the 14th century or the beginning of the 15th century, in the same period as the market square in the Plaza Mayor, seat of the consulate of the sea and also the house of the council, in a period of economic expansion of the town. Several authors have attributed to it the functions of a market for the procurement of goods, complementary to the Llotja de Mar, and it has also been interpreted as part of the customs house or as an auxiliary building of the church of Santa Maria, probably a workshop for stonemasons.