Write a sentence that uses "enmity" in the correct context.
Despite years of enmity between the two rival factions, they were finally able to come to a peace agreement.
Complete the following task based on the instruction and optional input provided.### Instruction:
Write a sentence that uses "enmity" in the correct context.

### Output:
Despite years of enmity between the two rival factions, they were finally able to come to a peace agreement.