Early treatment of anti-LGI1 encephalitis during the "inflammatory activity state" is crucial for overall prognosis and may avoid the development of dementia in some cases. The gene discussed is LGI1; the disease is encephalitis.