 He went on pilgrimage to Rome in 1028 and is associated with the foundation of Christ Church Cathedral in Dublin . Although Dublin underwent several reversals of fortune during his reign , on the whole trade in the city flourished . He died in 1042 . 
