Complex sentence: According to the agreement, the Emperor was to return the Holy Crown of Hungary for a payment of 80,000 golden florins, but he was authorized to use the title of King of Hungary.
Split into simpler sentences: According to the agreement, the Emperor were to return the Holy Crown of Hungary for a payment of 80,000 golden florins. On the other hand, he was authorized to continue to use the title of King of Hungary.