In 1572 the claimants agreed to the Division of Erfurt . This treaty said John William of Saxe-Weimar would also take the districts of Altenburg , Gotha and Meiningen . The contenders reached agreement in 1572 in the Division of Erfurt by which John William added the districts of Altenburg , Gotha and Meiningen to Saxe-Weimar .