When did he win Ottoman confidence?