I think you are thinking of a sorcerer. Battlemages can wear heavy armor too, but the don't solely focus on magic.
In Oblivion Battle mages specialized in Alchemy, Alteration, Blade, Blunt, Conjuration, Destruction, and Mysticism.
Spellswords specialized in Alteration, Blade, Block, Heavy...