A ​former church ​pastor recently convicted of molesting a six-year-old girl was sentenced to seven years in prison Monday, the Queens District Attorney announced.

James Love was found guilty of sexually assaulting the young child, who was a ward at his wife’s Woodlawn day care, earlier this month.

Love, the former pastor of New Mount Zion Baptist Church in Harlem, sexually assaulted t​​he little girl numerous times over the period of a year from June 2015 to June 2016, prosecutors said.

The now-seven-year-old bravely testified against Love during the ten-day trial.

The 46-year-old ​fallen man of God must also register as a sex offender.

“The victim’s mother dropped off the youngster at a trusted babysitter’s home, she had every expectation that her daughter would be cared for and protected,” Queens DA Richard Brown said in a statement. “Instead the husband of the sitter took advantage of the girl’s proximity and repeatedly violated her for his own sexual gratification.”

Defense attorney Todd Spodek called his client’s conviction “a perfect example of the uphill battle victims of false allegations of sexual abuse face at trial, and ultimately at sentencing.”

Spodek added that he and Love were in the process of reviewing appellate options.