1: \begin{abstract}
2:
3: We find algebraic conditions on a group equivalent to the position
4: of its Diophantine problem in the Chomsky Hierarchy.
5: In particular,
6: we prove that a finitely generated group has a context-free Diophantine problem if and only if it is finite.
7:
8: MSC 2020: 03D40, 20F10, 20F70
9:
10: \end{abstract}
11: