Treatment with a necroptosis inhibitor or anti-HMGB1 antibodies ameliorates myositis-induced muscle weakness as well as muscle cell death and inflammation in the muscles. The gene discussed is HMGB1; the disease is myositis disease.