 Subsequently, in January 1854, Abdülkerim Nadir Pasha was discharged from his position and replaced by the same Ahmed Pasha.After the war he was appointed as the governor of Thessaloniki.He was elected to the constitutional parliament in 1876 as a senator, though he retained his position in the army and dealt with several riots in Serbia in 1877.