Prosecutors in New York will no longer be able to seize a defendant's assets in most cases unless they can show those funds are the direct product of illicit activity, according to legislation that's expected to be passed as part of the state budget Sunday.

The proposal will amend the state's law on so-called civil asset forfeiture, which is currently used by prosecutors in some cases to either freeze or collect the assets of a defendant throughout a criminal proceeding.

There are three major provisions of the legislation, all of which are opposed by the District Attorneys Association of the State of New York. The proposal was included in one of 10 omnibus bills that will make up the $175 billion state budget—a mishmash of policy items and appropriations.