A judge allowed the man accused of leaving his 2-year-old son in a car while he went inside a movie theater to watch "The Dark Knight" to be released from jail Thursday.

David James Farnham, 23, was charged in July with child abuse, a class A misdemeanor, when authorities said he left his young son strapped in his car seat while he went inside to watch the new Batman movie. He left the windows rolled up in his vehicle so his child "would not be taken out," according to jail documents.

Farnham pleaded not guilty in August. After the boy was found in the car, police turned over custody of the child to his mother.

Attorneys had argued that the $20,000 bail for Farnham was unfairly high for a misdemeanor crime.

Third District Judge Judith Atherton on Thursday released Farnham from bail. But as part of the conditions of his release he will have to check in everyday with pretrial services, have no contact with his son, not take any drugs or alcohol and submit to random drug and alcohol tests.

Farnham's next court appearance is scheduled for Sept. 30.