French colonizers had difficulties adjusting to ruling over Muslim societies. Particularly in West Africa, constructing institutions of colonial rule that didn't favor certain constituencies while neglecting others proved to be a tricky task. The French opted for forms of indirect rule through the local aristocracy in an effort to maintain order and keep administrative costs down, but found that many subjects detested these colonial chiefs and rulers and tended to gravitate towards their local marabouts. Marabouts were admired for their transparency and righteousness as they were known to renounce political powers, while ensuring economic, social, and religious stability within their communities. Since the judgment of marabouts is so influential, the success or failure of a politician would be almost entirely contingent on the support of more prominent marabouts. Because of this, politicians would try to appease marabouts by agreeing to promote their Sufi brotherhood's best interests in turn for their endorsement, with some politicians believing that winning an election would be impossible without the support of a marabout. This political dynamic, based on patronage and exchanges, would lead to a somewhat of an alliance between marabouts and the French colonizers. Along with endorsing certain politicians in exchange for favors, French colonial administrators sought out marabouts and heads of Sufi brotherhoods to act as intermediaries between colonial administrators and West African Muslims to ensure appropriate allocation of power and resources to avoid any potential conflict.