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.
Answer in sentence: yes