Which happened first, a military defeat to the Liao or the chieftain Wanyan Aguda united the disparate Jurchen tribes
return a military defeat to the  Liao ;return the  chieftain Wanyan Aguda united the   disparate Jurchen tribes ;return when  was  #1 ;return when  was  #2 ;return which is lowest of #3 ,  #4
['select', 'select', 'project', 'project', 'comparison']