Mystic theurge

Mystic theurges blur the line between divine and arcane, drawing power from divine sources and ancient tomes alike. While most spellcasters choose one path to magical power, mystic theurges are able to simultaneously master spells common to clerics and wizards. Mystic theurges tend to be fascinated with magic in whatever form it takes. They're often obsessed with magical lore, traveling to the ends of the earth to learn some new arcane secret or divine insight.

Mystic Theurge Abilities
Mystic theurges have unparalleled diversity of spells. While they dont have the uninterrupted spell advancement that a clerics or wizards do, they make up for this with versatility.

When a new mystic theurge level is gained, the character gains new spells per day as if she had also gained a level in any one arcane and one divine spellcasting class they belonged to previously. They do not, however, gain any other benefits or abilities a character that class would have gained (such as bonus metamagic feats or bard abilities).