Hepatitis B and C infection is a major risk factor for liver cancer.