Âlî was assigned military duties and spent seven years in Bosnia, after which he served various administrative roles in provincial towns as far away as Baghdad and Dalmatia. He felt that these military and administrative posts were unsuited to him, as a man of letters and a man of the pen. He regularly appealed to the Court for better assignments and desperately tried to find a way back to Istanbul, to no avail.