Its founder, Aḥmad ibn Ṭūlūn, a Turk, arrived in Egypt in 868 as vice governor and promptly (868–872) established a military and financial foothold in the province by organizing an independent Egyptian army and securing the management of the Egyptian and Syrian treasuries.