Complex sentence: Cortés was willing to promise anything in the name of the King of Spain, and agreed to their demands.
Split into simpler sentences: Cortés was willing to promise anything. In the name of the King of Spain, and agreed to their demands.