Let X denote an irreducible
affine algebraic curve over the complex numbers. Let 𝒪(X) be the ring of
regular functions on X. Denote by 𝒟(X) the ring of differential operators on
X. We wish to characterize 𝒪(X) as a ring theoretic invariant of 𝒟(X). It
is proved that 𝒪(X) equals the set of all locally ad-nilpotent elements of
𝒟(X) if and only if X is not simply connected. However, for most simply
connected curves, we show there exists a maximal commutative subalgebra of
𝒟(X), consisting of locally ad-nilpotent elements, which is not isomorphic to
𝒪(X).