The mechanisms for sensing and defeating RNA viruses vastly differ between vertebrate and invertebrate bilaterian animals which hinders our understanding of their evolutionary origin. In this project we characterized the gene expression response (i.e. which genes are activated and inactivated) to a common viral mimic, double-stranded RNA, in a non-bilaterian animal, the cnidarian Nematostella vectensis. Strikingly, we revealed that the innate immune response of Nematostella displays similarities to both invertebrate and vertebrate systems as we find activation of distinct components similar to those found in the interferon system of vertebrates and also to those found in the RNA interference system of flies and worms. This result suggests an ancient origin of these antiviral immune mechanisms and that the last common ancestor of cnidarians and bilaterian animals had a highly sophisticated antiviral system inside its cells. Unexpectedly, after cnidarians separated from the rest of animals, ancient vertebrates and invertebrates lost parts of their antiviral immune systems, whereas cnidarians retained the ancestral complexity. Further, the results of our biochemical and genetic assays indicate that the retinoic acid-inducible gene I-like receptors (RLRs), known to detect viral double-stranded RNA in vertebrates and worms, are essential to initiate the antiviral immune response in Nematostella. Altogether, we provided functional evidence that the RLR-mediated sensing of viral RNA originated before the split of cnidarians from other animals more than half a billion years ago.