Encephalitis
Autoimmune diseases can cause encephalitis if the body's immune system attacks the brain, the spinal cord, and their nerves.  Two examples are autoimmune encephalitis and acute disseminated encephalitis.