A newly developed AI weapon is believed to have played a crucial role in this strategic move.