OKLAHOMA CITY (AP) — An Oklahoma County judge has ordered that a Ten Commandments monument on the grounds of the state Capitol be removed within 30 days.

District Judge Thomas Prince handed down the order Friday and gave state officials until October 12 to take down the 6-foot-tall granite monument.

Prince issued the ruling after denying a motion filed by Attorney General Scott Pruitt's office alleging that the Oklahoma Supreme Court's June 30 order to remove the monument expressed an unconstitutional hostility toward religion.

The court ruled the monument is a religious symbol and must be removed from the Capitol grounds because it violates a state constitutional ban on using public property for the benefit of religion.