Input (grade 8): In his youth, Henry's father made him Duke of York (in the Jacobite peerage), and it was by this title that he was best known.
Output (grade 8): When he was young, Henry's father made him Duke of York (in the Jacobite peerage), and that was how he was best known.