Use "swear allegiance" in a sentence

1. He was one of the first general officers to swear allegiance to the new King of France, Louis XVIII, who would bestow a number of honours upon the General.

Il fut l'un des premiers officiers généraux à faire acte d'allégeance à Louis XVIII, qui lui accorda en retour de nombreux honneurs.