there was a legend in celtic mythology , a giant cat knows as the cath palug is says to have terrorized the welsh island of anglesy before being defeated by the legendary king arthur in the middle ages .