In this article, we describe the synthesis of 5-nitro-1-(2-deoxy-alpha-D-erythro-pentofuranosyl)cytosine (4alpha), 5-nitro-1-(2-deoxy-beta-D-erythro-pentofuranosyl)cytosine (4beta), 5-amino-1-(2-deoxy-alpha-D-erythro-pentofuranosyl)cytosine (5alpha), 5-nitro-1-(2-deoxy-beta-D-erythro-pentofuranosyl)cytosine (5beta), 5-nitro-1-(2,3-dideoxy-beta-D-ribofuranosyl)uracil (6beta), 5-amino-1-(2,3-dideoxy-alpha,beta-D-ribofuranosyl)uracil (7), 5-nitro-1-(2,3-dideoxy-alpha,beta-D-ribofuranosyl)cytosine (8) and 5-amino-1-(2,3-dideoxy-beta-D-ribofuranosyl)cytosine (9beta). The prepared compounds were tested for their activity against HIV and HBV viruses, but they did not show significant activity.