This invention relates to a bromo-phenyl substituted thiazolyl dihydropyrimidine, its preparation method and use as a medicament for treating and preventing hepatitis B infections. The invention also relates to a composition comprising the dihydropyrimidine, one or more antiviral agents and, optionally, an immunomodulator for treating and preventing HBV infections.