Original: It takes its name from, Dalga's fort home closely associated with the famous mythical warrior Cúchulainn, and was granted its charter in 1189.
Simplified: It takes its name from, "Dalga's fort" and officially became a town in 1189.