Has you probably know, Dynasties are just a long line of family members. Example: Mark Smith 1945, Sally Smith 1946, George Smith 1947. You get the idea.
But at the end of the Han dynasty, the last emperor was killed - and he wasn't married with kids.