The Baridis also faced mounting challenges at the same time: they had to defend Basra against the ruler of Oman, and, their resources exhausted in the long contests for Baghdad, they now turned on one another.