John Frederick Margrave of Brandenburg-Ansbach (18 October 1654 – 22 March 1686) succeeded his father Albert II as margrave of Ansbach in 1667. He married his second wife Eleonore Erdmuthe of Saxe-Eisenach on 4 November 1681. Their daughter Wilhelmine Charlotte Caroline Margravine of Brandenburg-Ansbach (Caroline of Ansbach) married George II of Great Britain before he became king.