A group of landlords in Westchester County on Thursday sued New York Gov. Andrew Cuomo over his executive order extending a moratorium on evictions during the COVID-19 crisis, saying the measure violated their contract and due process rights and amounted to an improper taking of their property under the U.S. Constitution.

The lawsuit, filed in White Plains federal court, seeks to nullify two provisions of the May 7 order, which prohibit landlords from pursuing eviction proceedings through Aug. 19 and give renters the option to put their security deposit toward their rent payment.