In 1662 Wilhelm , Duke of Saxe-Weimar died , leaving four children : Johann Ernst , Adolf Wilhelm , Johann Georg and Bernhard . However , when Duke Wilhelm of Saxe-Weimar died in 1662 , he left four children : John Ernest , Adolf William , John George and Bernard .