The previous psychiatric diagnosis was discarded and the diagnosis of anti-CASPR2 autoimmune encephalitis as a causally treatable explanation for the depression and the seizures was made. This evidence concerns the gene CNTNAP2 and autoimmune encephalitis.