Look into the Hanseatic League. Pirates (to go a-Viking was to go a-pirating) became shopkeepers. But they kept up "walk softly and carry a big stick".