After the initial struggles, relationships between the Lombard people and the Latin-speaking people improved. In the end, the Lombard language and culture assimilated with the Latin culture, leaving evidence in many names, the legal code and laws, and other things. The end of Lombard rule came in 774, when the Frankish king Charlemagne conquered Pavia, deposed Desiderius, the last Lombard king, and annexed the Lombard Kingdom to his empire changing the name in Kingdom of Italy.