The shangbang were regional merchant groups of the Ming and Qing bound by native place: the Shanxi and Huizhou merchants were the strongest, alongside Cantonese and Ningbo factions. The Huizhou merchants rose through salt, pawnbroking, tea and timber, "merchants yet fond of learning," adorning trade with Confucian scholarship, buying degrees and printing books and supporting scholars — Huizhou's academies and evidential scholarship grew with their commerce; the Shanxi merchants began in the salt and grain trade, travelled as far as Kyakhta and Russia, and in the Daoguang reign founded the piaohao (remittance banks, beginning with Rishengchang) that moved money across the empire, at one point handling provincial treasury remittances. Their organization rested on the huiguan (native-place guild halls): sojourning merchants pooled funds to build halls in great cities, worshipping local deities (Guandi most often), setting commercial rules and providing charitable aid for fellow natives — "binding native ties, regulating trade" — and serving examination candidates' lodgings alongside examinations; the hall was both a place of fellowship and a guild arbitration court. The shangbang prospered on the licensed system of salt monopoly and long-distance trade and were trapped by it: at the end of the Qing the piaohao refused to become banks and the salt system was reformed, and they declined in turn; modern banks and chambers of commerce arose, and regional merchant groups gave way to trade organizations, yet the business culture of Shanxi and Huizhou is still praised, and the guild hall buildings themselves are an important legacy of Ming-Qing vernacular architecture and sculpture.