Sophie married her cousin , Frederick II of Denmark , when she was 14 .
Sophie married her spouse and cousin , Frederick II of Denmark , at fourteen ; he was thirty-seven .