Myocarditis, an inflammation of the heart muscle, is a known cause of heart failure.