Northern Wei conquered Northern Liang, unifying northern China and ending the Sixteen Kingdoms period.