THE close-packed shops on Petaling Street (pictured), a dim warren in a Chinese quarter of Kuala Lumpur, Malaysia’s capital, often throng with bargain-hunting tourists. This month its mostly ethnic-Chinese stallholders faced crowds of a different kind. Riot police prevented a mob of redshirted protesters—ethnic Malays with a host of grudges—from marching down the street. They eventually dispersed loiterers with water cannon. One protester was filmed calling a journalist a “Chinese pig”. Some are threatening to return.

The unsettling scuffle took place on the fringes of a big pro-government rally held in the capital on September 16th. Some 40,000 ethnic Malays gathered at a park in support of the United Malays National Organisation (UMNO), the party that has led Malaysia’s ruling coalitions for nearly 60 years. The day’s events were only the latest evidence of rising tensions between the country’s Malay Muslim majority and its ethnic Chinese and Indian minorities, who make up about one-third of its citizens. Battling allegations of corruption, UMNO seems careless of the risks.

Malaysia’s broad ethnic mix, in part the result of British colonial immigration policies, has long coloured its politics. After a murderous race-riot in 1969, in which mobs burned Chinese shops, officials devised a slew of measures aimed at defusing tensions. Their aim was to reduce inequality between Malays and their richer ethnic-Chinese compatriots. Malays were guaranteed a quota of places at universities and the right to own shares in all listed companies, among other benefits. Though billed as temporary, many of the measures are still in force.

Since then Malay incomes have risen rapidly (see chart). But greater equality has come at a cost. Critics say that state-sponsored favouritism has hooked Malays on handouts and government jobs, and helped to enrich the country’s elites—at the same time as enraging ethnic-Chinese citizens, and driving some of the most talented of them abroad. There have been growing demands, among Malays too, for the rules to be scrapped, or at least refocused on the neediest regardless of their race. When he came to power in 2009 Najib Razak, UMNO’s president and Malaysia’s prime minister, sounded as if he agreed.

All that changed after a general election in 2013, when the government retained power despite losing the popular vote. UMNO itself managed to gain seats at the polls. But voters deserted the small ethnic-Chinese and Indian parties with whom it rules in coalition, fleeing to a resurgent and more ethnically balanced opposition. Instead of trying to lure them back, UMNO has focused on refurbishing its reputation as a champion of ethnic Malays and of Islam, their traditional religion. As well as losing interest in reforming discriminatory policies, it has become less disapproving of religious types appalled by pop concerts, dog-petting and women’s gymnastics. It is playing along with Islamists who are trying to introduce strict sharia punishments in a devout northern state. Malay chauvinism has accelerated sharply amid a political crisis which began in July, when a report in the Wall Street Journal alleged that almost $700m had entered the prime minister’s bank accounts shortly before the election. Mr Najib denies any wrongdoing; Malaysia’s anti-corruption commission says the money was a legal political donation from unnamed Middle-Eastern benefactors. A hasty cabinet reshuffle ousted dissenters within UMNO, but elevated pro-Malay hardliners in their place. The party has taken to claiming that its critics are part of a plot to topple the government, backed by foreign media.