Compound of Formula I in which - R1, R2, R3, and R4 are for each position independently selected from the group comprising H, D, and C1-C6-alkyl - R5 and R6 are independently selected from the group comprising H, C6-aryl, C3-C5-heteroaryl, C1-C6-alkyl, C2-C6-alkynyl, C1-C6-haloalkyl, C3-C7-cycloalkyl, C3-C7-heterocycloalkyl, C2-C6-hydroxyalkyl, C1-C6-alkyl-O-C1-C6-alkyl, C1-C2-alkyl-C3-C5-cycloalkyl, C1-C2-alkyl-C3-C5-heteroaryl, and C1-C2-alkyl-C3-C5-heterocycloalkyl optionally substituted with 1, 2, or 3 groups each independently selected from OH, halo, phenyl, carboxyphenyl, C3-C7-heterocycloalkyl, C1-C6-alkyl, C1-C6-haloalkyl, C1-C6-hydroxyalkyl, C1-C4-alkoxy, C 1-C6-alkyl-O-C 1-C6-alkyl, C(=O)NH 2, C(=O)N CH 3 and carboxy - R5 and R6 are optionally connected to form a C4-C8-heterocyclyl ring - n is 0, 1, or 2 - m is 0, 1, or 2 - Q is indol-2-yl, optionally substituted with 1, 2, 3, or 4 groups independently selected from H, D, F, Cl, Br, I, CF 3, CF 2 H, C1-C4-alkyl, CF 2 CH 3, cyclopropyl, cyano, and nitro; or indolizin-2-yl, optionally substituted with 1, 2, 3, 4, 5 or 6 groups independently selected from H, D, F, Cl, Br, I, CF 3, CF 2 H, C1-C4-alkyl, CF 2 CH 3, cyclopropyl, cyano, C2-C5-alkenyl, and nitro, wherein heteroaryl and heterocycloalkyl each has 1 or 2 heteroatoms each independently selected from N, O and S, or a pharmaceutically acceptable salt thereof or a solvate of a compound of Formula I or the pharmaceutically acceptable salt thereof or a prodrug of a compound of Formula I or a pharmaceutically acceptable salt or a solvate thereof for use in the prevention or treatment of an HBV infection in a subject, wherein the prodrug is selected from the group consisting of esters and amides. - R1, R2, R3, and R4 are for each position independently selected from the group comprising H, D, and C1-C6-alkyl - R5 and R6 are independently selected from the group comprising H, C6-aryl, C3-C5-heteroaryl, C1-C6-alkyl, C2-C6-alkynyl, C1-C6-haloalkyl, C3-C7-cycloalkyl, C3-C7-heterocycloalkyl, C2-C6-hydroxyalkyl, C1-C6-alkyl-O-C1-C6-alkyl, C1-C2-alkyl-C3-C5-cycloalkyl, C1-C2-alkyl-C3-C5-heteroaryl, and C1-C2-alkyl-C3-C5-heterocycloalkyl optionally substituted with 1, 2, or 3 groups each independently selected from OH, halo, phenyl, carboxyphenyl, C3-C7-heterocycloalkyl, C1-C6-alkyl, C1-C6-haloalkyl, C1-C6-hydroxyalkyl, C1-C4-alkoxy, C 1-C6-alkyl-O-C 1-C6-alkyl, C(=O)NH 2, C(=O)N CH 3 and carboxy - R5 and R6 are optionally connected to form a C4-C8-heterocyclyl ring - n is 0, 1, or 2 - m is 0, 1, or 2 - Q is indol-2-yl, optionally substituted with 1, 2, 3, or 4 groups independently selected from H, D, F, Cl, Br, I, CF 3, CF 2 H, C1-C4-alkyl, CF 2 CH 3, cyclopropyl, cyano, and nitro; or indolizin-2-yl, optionally substituted with 1, 2, 3, 4, 5 or 6 groups independently selected from H, D, F, Cl, Br, I, CF 3, CF 2 H, C1-C4-alkyl, CF 2 CH 3, cyclopropyl, cyano, C2-C5-alkenyl, and nitro, wherein heteroaryl and heterocycloalkyl each has 1 or 2 heteroatoms each independently selected from N, O and S, or a pharmaceutically acceptable salt thereof or a solvate of a compound of Formula I or the pharmaceutically acceptable salt thereof or a prodrug of a compound of Formula I or a pharmaceutically acceptable salt or a solvate thereof for use in the prevention or treatment of an HBV infection in a subject, wherein the prodrug is selected from the group consisting of esters and amides. indolizin-2-yl, optionally substituted with 1, 2, 3, 4, 5 or 6 groups independently selected from H, D, F, Cl, Br, I, CF 3, CF 2 H, C1-C4-alkyl, CF 2 CH 3, cyclopropyl, cyano, C2-C5-alkenyl, and nitro, wherein heteroaryl and heterocycloalkyl each has 1 or 2 heteroatoms each independently selected from N, O and S, or a pharmaceutically acceptable salt thereof or a solvate of a compound of Formula I or the pharmaceutically acceptable salt thereof or a prodrug of a compound of Formula I or a pharmaceutically acceptable salt or a solvate thereof for use in the prevention or treatment of an HBV infection in a subject, wherein the prodrug is selected from the group consisting of esters and amides.