The treatment of atrial fibrillation and other cardiac arrhythmias by means of a direct-current shock to the chest, typically during a selected part of the cardiac cycle; an instance of this. In later use also: restoration of the normal rhythm of the heart by any means.