You've either got to be negative and say I renounce my allegiance to my former country, or say in some more specific way I pledge my complete loyalty and allegiance, or something along those lines.
On est forcé d'être négatif et de dire qu'on renonce à son allégeance à un ancien pays, ou encore d'être spécifique et de promettre une entière loyauté et allégeance, ou quelque chose de ce genre.