Please improve the coherence of the text
Ali immediately lost the support of many of his supporters. Those who remained loyal to him helped him to repelled Bahram.
Ali immediately lost the support of many of his supporters, but those who remained loyal to him helped him to repelled Bahram.