Answer
Modernized, reformed and reorganized. Mahmud II sought to strengthen and modernize the Ottoman military, which was lagging behind its European counterparts. He replaced the traditional Janissary corps with a more disciplined and efficient Western-style army and implemented various reforms to improve military training, logistics and discipline.