However, Model Rule 1.5(d) prohibits contingency fee agreements for domestic relations matters—such as divorce cases—and for the representation of a defendant in a criminal case. Most states, including California and New York, have adopted such prohibitions on contingent fees.