 In 1686, the pietist Philipp Jakob Spener became the court chaplain in Dresden.But Spener was not generally accepted there and in 1691 he moved to Brandenburg.Meanwhile, the duchy had recovered again from the consequences of the Thirty Years' War.