 According to the Cogadh Gaedhil re Gallaibh , Sigtrygg 's flight from the city took him north , first to the Ulaid and then to <unk> of Cenél nEógain . Both tribes refused to help him . As Sigtrygg could find no refuge in Ireland , he eventually returned , submitted to Brian , gave hostages and was restored to Dublin three months after Brian ended his occupation in February . In the meantime , Sigtrygg may have temporarily " turned pirate " and been responsible for a raid on St David 's in Wales . 
