The U.S. Department of Justice's lengthy investigation of former New York Gov. Andrew Cuomo ended Friday, with the federal agency and state government agreeing he engaged in a pattern of sexual harassment and retaliation involving at least 13 state employees who accused him of misconduct.