The Character's rarity determines its max level, as follows:


Rarity                Max Level
Epic                15
Rare                20
Common        20