I think the poster is asking what level the character needs to be.
I think there's no requirement, so technically you could train them up all the way to the max level, but troops gain experience more slowly if they are higher level than the player, so you'll take a looooong time to do this if your character is only level 5.