Certain hepatitis viruses over time can cause liver cancer.