In 1932, he and his brother were sentenced to death in absence for trying to disturb the internal order. &lt;br&gt;With the Italian Invasion of Albania he joined the resistance, while keeping tight contacts with the British Intelligence. The British tried to send him in Kukës region to proclaim himself as the ruler of an autonomous Albania, in contrast with the Fascist Albanian state, but the project never came to life. The Germans caught him, imprisoned in Zemun, and later handed over to the Italians, who imprisoned him. After the invasion of Italy in 1943, he returned to Albania helped by Mehmet Bey Konica. He gathered up a group of fighters with the support of his kin, and proclaim to combat the Germans. Enver Hoxha would mention him as a "Serbian agent... he and his crew never really shot a gun against the Germans". Hoxha would consider him as an important adversary to liquidate. Gani continued to fight, as a key member of the liberation anti-communist resistance with the support of the British side (Sir Jocelyn Percy and Dayrell Oakley-Hil), but was caught in a fire triangle between the Germans, Albanian partisans, and Kosovo partisans of Fadil Hoxha. The Albanian partisans caught him in 1945, handed him over to the Yugoslavian communists who surprisingly sentenced him to only five years of hard labor.