In his early years, he assumed different governmental employments in different cities, but he used to frequent Cairo to cope with the library and acquire modern books. In 1906, he ultimately settled in Cairo resigning from his governmental posts, to devote himself to journalism and writing