After the Italian army invaded Cyrenaica in 1913 as part of their wider invasion of Libya, the Senussi Order fought back against them. When the Order's leader, Ahmed Sharif as-Senussi, abdicated his position, he was replaced by Idris, who was his cousin. Pressured to do so by the Ottoman Empire, Ahmed had pursued armed attacks against British military forces stationed in neighbouring Egypt. On taking power, Idris put a stop to these attacks.