East Macedonia and Thrace
Ali was born in Didymoteicho (today in East Macedonia and Thrace, northeastern Greece). He was a high-ranking bureaucrat, serving in the shipyards and in the treasury. He also served as the governor of Cyprus and Tripoli Eyalet (modern-day Tripoli, Lebanon).