Can you make a sentence with the word indemnity?

The ransom that the pirates demanded were like the war INDEMNITIES and tribute money demanded in treaties of peace by other countries.