who was the ottoman governor who led egypt in the years following the napoleonic wars