A bright student who counted among his contemporaries in UCD his future political rival , Charles Haughey , who also knew Joan O'Farrell ( the Liverpool-born daughter of a British army officer , Richard O'Farrell ) a fellow student , whom FitzGerald married in 1947 . A bright student who counted among his contemporaries in UCD his future political rival , Charles Haughey , who also knew Joan O'Farrell ( a Liverpool-born daughter of a British army officer , Richard O'Farrell ) a fellow student , whom Garret Fitzgerald would go on to marry in 1947 .