John Frederick the Magnanimous was the elector of Saxony during Martin Luther's mature years (1532-1546), and they worked closely together on many things. After Luther's death, John Frederick shared leadership of the Smalcald League with his cousin, Philip of Hesse.