Analogs of antiviral 9-(2-phosphonomethoxyethyl)adenine (PMEA, II), containing modified purine bases 1-deazaadenine (VII), 3-deazapurine (XI), 7-deaza-7-cyanoadenine (XIIIb) and 3-deazaguanine (XXIb), were prepared by alkylation of the heterocyclic bases with bis(2-propyl) 2-chloroethoxymethylphosphonate (V) in dimethylformamide in the presence of sodium hydride or cesium carbonate. The obtained protected derivatives were deblocked with bromotrimethylsilane to give the phosphonic acids. 3-DeazaPMEG (XXIb) is active against DNA viruses and exhibits a marked cytostatic effect against L-1210 leukemia.