After Paul won, he revealed that Duncan Idaho was the ultimate Kwisatz Haderach; this revelation led to Duncan becoming the ruler of both the machines and humans.