In 1897, at the eve of the Greco-Turkish War (1897) he was tasked with defending the Dardanelles. In 1906, he was appointed as the naval minister. Two years later however, following the Young Turk Revolution he was dismissed by the now powerful Committee of Union and Progress partisans. He was put on trial and was downgraded.