qnli question: What happened as a result of Maximilian's death? sentence: When Maximilian died, Albert's line died out, and the Duchy of Prussia passed to the Electors of Brandenburg, forming Brandenburg-Prussia.