  In this paper we give algebraic characterizations of the affine $2$-space and
the affine $3$-space over an algebraically closed field of characteristic zero,
using a variant of the Makar-Limanov invariant.
