qnli question: Who had control of the Beiyang army? sentence: To prevent civil war and possible foreign intervention from undermining the infant republic, leaders agreed to Army's demand that China be united under a Beijing government.