A method of treatment of: i) HIV-1 infections in mammals, including humans or ii) HBV infections in mammals, including humans which method comprises the administration to the human in need of such treatment, an effective amount of the (R)-enantiomer of the triphosphate of a compound of formula (A) or a pharmaceutically acceptable salt thereof and compounds for use in the method.