For a period of perhaps ten to fifteen years following the collapse of the Panthay Rebellion, the province's Hui minority was widely discriminated against by the victorious Qing, especially in the western frontier districts contiguous with Burma. During these years the refugee Hui settled across the frontier within Burma gradually established themselves in their traditional callings – as merchants, caravaneers, miners, restaurateurs and (for those who chose or were forced to live beyond the law) as smugglers and mercenaries and became known in Burma as the Panthay.