Simple Sentences:
* The soldier swore allegiance to the flag.
* She felt a strong sense of allegiance to her family.
* The team showed their allegiance to their captain by cheering him on.
More Complex Sentences:
* Despite the political turmoil, the citizens remained steadfast in their allegiance to their country.
* His allegiance to the cause was unwavering, even in the face of danger.
* The king demanded allegiance from his subjects, threatening to punish those who refused.
* The company's employees expressed their allegiance by participating in a volunteer program.
Figurative Language:
* He had a dual allegiance, torn between his loyalty to his friends and his sense of duty.
* His heart was divided, his allegiance torn between two lovers.
* The artist's work reflected his allegiance to the beauty of nature.
Remember: "Allegiance" can refer to loyalty or commitment to a person, group, cause, or nation. The context of the sentence will determine its specific meaning.