A method for treating or preventing Hepatitis B virus infection in a subject, which comprises administering to said subject in need thereof a therapeutically effective amount of a compound represented by Formula 1:a pharmaceutically acceptable salt of thereof or solvate thereof or mixtures thereof. The subject can be an animal, particularly mammals and more particularly humans and companion animals such as cats and dogs.