Consider the maximal operator Cf(x)=λ∈Rsupy∈Zn∖{0}∑f(x−y)e(λ∣y∣2d)K(y),(x∈Zn), where d is a positive integer, K a Calderón-Zygmund kernel and n≥1. This is a discrete analogue of a real-variable operator studied by Stein and Wainger. The nonlinearity of the phase introduces a variety of new difficulties that are not present in the real-variable setting. We prove ℓ2(Zn)-bounds for C, answering a question posed by Lillian Pierce.