Last Monday, a State Supreme Court Justice ruled that Zephyr Teachout can remain on the Democratic primary ballot next month, setting up a three-way contest between the Fordham law professor, incumbent Gov. Andrew Cuomo and comedian-activist Randy Credico.

The Cuomo’s re-election campaign challenged Teachout’s residency in an effort to have her removed from the ballot, arguing that she did not meet the state constitution’s five-year residency requirement to run for state office in New York.

Justice Edgar Walker found that Cuomo’s supporters were unable to prove “by clear and convincing evidence” that Teachout had established a permanent residence elsewhere.

An attorney for the Cuomo campaign said that are appealing the ruling.