The present invention includes in one aspect substituted 2-oxo-1,2,5,6-tetrahydrobenzo[h]quinoline-3-carboxylic acids, analogues thereof, and compositions comprising the same, which can be used to treat and/or prevent hepatitis B virus (HBV) infection and/or hepatitis D virus (HDV) in a patient. In certain embodiments, the invention provides a compound of formula (I), or a salt, solvate, geometric isomer, stereoisomer, tautomer, and any mixtures thereof:本發明包括經取代的2-氧代-1,2,5,6-四氫苯並[h]喹啉-3-羧酸,其類似物和包含其的組成物,其可用於對患者治療及/或預防B型肝炎病毒(HBV)感染及/或D型肝炎病毒(HDV)。在某些實施例中,本發明提供通式(I)所示的化合物,或其鹽類、溶劑化物、幾何異構物、立體異構物、互變異構物、及其任一混合物: