 Despite the uncertainty of its specific location , Castell Avloed appears to have been situated in territory formerly controlled by Iago , and there is reason to suspect that — after Iago 's fall and Cynan 's flight — Ímar oversaw military actions against Gruffudd . Three years later , for example , <unk> y <unk> and the " B " and " C " versions of <unk> <unk> report that this Welsh king was captured by forces from Dublin . The episode is further elaborated upon by a sixteenth @-@ century text compiled by David Powell ( died <unk> ) and a seventeenth @-@ century text by compiled by James Ware . According to these <unk> late versions of events , Gruffudd was captured by the Dubliners in the context of them supporting the cause of Cynan . The accounts further state that Gruffudd managed to escape his captors when the Dubliners were <unk> by Welsh forces before they could return to Ireland . The evidence of Cynan <unk> with the Dubliners against Gruffudd suggests that , not only was Ímar personally involved as king , but that the Welsh fortress of Castell Avloed was still controlled by the Dubliners . 
