The actor Terry Crews and agent Adam Venit have agreed to settle a lawsuit in which Crews alleged Venit groped him at a Hollywood party.

Venit’s agency William Morris Endeavor, also named as a defendant, confirmed the deal Thursday in a statement saying the lawsuit would be dismissed.

Crews filed the civil lawsuit 30 January, saying that Venit grabbed and squeezed his crotch at a 2016 party. Crews was among the most prominent men to come forward as a victim in the #MeToo movement. He said he had not spoken out earlier due to fear of being ostracised.

Venit denied the allegations in court documents, saying his actions toward Crews were not sexual and caused no harm.

Prosecutors declined to file criminal charges in the case.

Representatives for Crews, a former NFL star known for his role in the TV series Brooklyn Nine-Nine, did not immediately respond to requests for comment.