A display of the Ten Commandments at an eastern Kentucky courthouse does not violate the Constitution, but a lawsuit challenging a similar display in another county can proceed, a federal judge has ruled.

The Ten Commandments display at the Rowan County Fiscal Court, part of an exhibit on the foundations of American law and government, “does not have the effect of endorsing religion,” U.S. District Judge Karl Forester said in a ruling released Wednesday.