A New York probate court has thrown out a will that bequeathed almost $5 million to the lawyer who drafted it on behalf of her deceased “paramour.”

Michele Okin, a disbarred estate lawyer, was named the chief beneficiary in the January 2004 will of Pasquale Coviello, a local real estate developer who died in May 2004. Okin, 46, had been the estate lawyer for Coviello and his wife before she began an affair with Coviello in December 2002.