President Donald Trump’s personal lawyer negotiated a deal in late 2017 to pay $1.6 million to a former Playboy model who said she was impregnated by a top Republican fundraiser, according to people familiar with the matter.

Michael Cohen, whose office, home and hotel room were raided by federal agents this week, arranged the payments to the woman on behalf of Elliott Broidy, a deputy finance chairman of the Republican National Committee with ties to Mr. Trump, the people familiar with the matter said. Mr. Broidy, a Los Angeles-based venture capitalist, worked on the Republican committee with Mr. Cohen, also a national deputy finance chairman.

The deal, which hasn’t previously been reported, prohibits the Los Angeles woman from disclosing her alleged relationship with Mr. Broidy in exchange for $1.6 million to be paid to her over two years in quarterly installments, these people said. The first payment was due Dec. 1, according to one of the people.

“I acknowledge I had a consensual relationship with a Playboy Playmate,” Mr. Broidy said in a statement provided by a spokesman. “At the end of our relationship, this woman shared with me that she was pregnant. She alone decided that she did not want to continue with the pregnancy and I offered to help her financially during this difficult period.”

On Friday afternoon, after The Wall Street Journal reported on the settlement, Mr. Broidy, who is married, resigned from his RNC post, according to a person familiar with the matter.