To evaluate the effect of cardioversion on peak oxygen consumption (peak VO2) in patients with long-standing atrial fibrillation, to assess the importance of underlying heart disease with respect to the response to exercise, and to relate functional capacity to long-term arrhythmia outcome.