He reorganized the administration and army.