Andersen–Tawil syndrome is inherited in an autosomal dominant pattern. It is caused in most cases by a mutation in the "KCNJ2" gene which encodes an ion channel that transports potassium out of cardiac muscle cells. The arrhythmias seen in the condition can be treated with flecainide or beta-blockers, but an implantable defibrillator may sometimes be required. Periodic paralysis can be treated with carbonic anhydrase inhibitors such as acetazolamide. The condition is very rare and is estimated to affect one person in every million. The three groups of features seen in this condition were first described in 1971 by Ellen Andersen, and significant contributions to its understanding were made by Rabi Tawil.