qnli question: Who was involved merger of the smaller states into the two largest factions of Myanmar ? sentence: The valley too was beset with petty states until the late 14th century when two sizeable powers, Ava Kingdom and Hanthawaddy Kingdom, emerged.