allegiance (忠誠): They pledged their allegiance to the country. (彼らは国に忠誠を誓いました)

They pledged their allegiance to the country.