NORRISTOWN, Pennsylvania: A US judge paved the way Wednesday for disgraced TV legend Bill Cosby to stand trial for the first time on a criminal sexual assault charge, throwing out an attempt by his lawyers to dismiss the case. Dozens of women have come forward to accuse the 78-year-old Cosby of abuse in allegations spanning four decades, but the vast majority have expired under statues of limitations. The megastar turned pariah spent two days in court in Norristown, just outside Philadelphia, as his lawyers disputed the legality of the case, which dates back to 2004 and was settled in 2006 by a civil suit. Prosecutors in Montgomery County reopened the case last year, claiming that new evidence came to light in July. Cosby posted bail of $1 million on December 30.