It established intentions of friendship between the United States and Spain.
I would say that the best answer would be the second option:
"To establish the goals and purposes of government."
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.