Ahmed Ibn Tulun
had a very strong character and , when the governor of the land changed , Ibn Tulun tried to make a treaty with the new one (El-Muwaffak) , who was the Caliph's brother and who prepared an army to depose Ibn Tulun from his position . But El-Muwaffak could not send his army because of the lack of money . Ahmad Ibn Tulun sent many gifts and money to the Caliph and , therefore , he obtained the independence of
Egypt
from the Caliph .
After the death of Magur (the governor of Syria) , Ibn Tulun went to Damascus and the people as well as the officials of Syria welcomed him . Then , he went Tarsus and extended his kingdom from Euphrates and the borders of the
Byzantine
Empire to Barqa and Aswan . He also fought against the Romans and defeated them near Tarsus .
At first , Ibn Tulun was the representative of the Governor of Egypt , but his position was not firm and safe , because of the conflict between him and Ibn el-Mudabbir . When Ibn Tulun got rid of Ibn El-Mudabbir , he had the full control of Egypt and he was collecting the taxes sending the Kharaj to the Caliph .
Then , he stopped sending the Kharaj to the Caliph , became the sole ruler of Egypt and became the only one to appoint the high officials , leaders of the army , judges and all members of the government with his borders extended to Syria and Barqa .
He established a mint for making coins and he minted the gold dinars , known as Ahmadieh .
He tried to protect El-Mutamid , the Caliph from his brother , El-Muwaffak , but the latter arrested the former .