The verdict came nearly five years after Cosby was freed from prison in a criminal case with similar allegations.