Anna , granddaughter of Albert I and daughter of Duke Albert Frederick ( reigned 1568-1618 ) , married her cousin Elector John Sigismund of Brandenburg .
In 1618 the new Duke of Prussia was the Elector John Sigismund of Brandenburg .