(CNN) A New York City grand jury on Wednesday indicted movie producer Harvey Weinstein on charges of rape in the first and third degrees and first-degree criminal sexual act, the Manhattan District Attorney's Office said.

Weinstein, who intends to plead not guilty, remains free after posting a $1 million cash bail, according to his attorney.

The charges stemmed from incidents with two women in 2013 and 2004 and were the result of a joint investigation between police and prosecutors, according to the Manhattan district attorney.

Weinstein is accused of forcing one woman to perform oral sex on him on one occasion between June and September 2004, the criminal complaint said. The alleged rape took place on March 18, 2013, the complaint said.

Read More