Having been in military positions until then, Firishta was not immediately successful in Bijapur. Further exacerbating matters was the fact that Firishta was of Shia origin and therefore did not have much chance of attaining a high position in the dominantly Sunni courts of the Deccan sultanates.[1] In 1593 Ibrahim Shah II ultimately implored Firishta to write a history of India with equal emphasis on the history of Deccan dynasties as no work thus far had given equal treatment to all regions of the subcontinent.[citation needed]