Zhao Kuangyin founds the Song dynasty, reunifies much of China and limits military power through institutions designed to place civil government above the generals.