sentence1: In 1791 Hamilton returned to Dublin , where he died . In 1796 he painted Lord Edward Fitzgerald , the Irish revolutionary .
sentence2: In 1791 , Edward Fitzgerald returned to Dublin , where he died , and in 1796 he painted the Irish revolutionary Lord Hamilton .