this application relates to novel fused tricyclic thienopyridines of formulas i and ii , which useful for treating hepatitis b infection and other diseases . this application also relates to pharmaceutical compositions comprising thienopyridines and to the use of such compositions to treat hepatitis b and other diseases .