In 1802 the newly established Nguyễn dynasty requested canonization from the Chinese Jiaqing Emperor and received the title "Quốc Vương" (國王, "King of a State)" and the name of the country as "An Nam" (安南) instead "Đại Việt" (大越). To avoid unnecessary armed conflicts, the Vietnamese rulers accepted this in diplomatic relation and used the title Emperor only domestically. However, Vietnamese rulers never accepted the vassalage relationship with China and always refused to come to Chinese courts to pay homage to Chinese rulers (a sign of vassalage acceptance). China waged a number of wars against Vietnam throughout history, and after each failure, settled for the tributary relationship. The Yuan dynasty under Kublai Khan waged three wars against Vietnam to force it into a vassalage relationship but after successive failures, Kublai Khan's successor, Temür Khan, finally settled for a tributary relationship with Vietnam. Vietnam sent tributary missions to China once in three years (with some periods of disruptions) until the 19th century, Sino-French War France replaced China in control of northern Vietnam.