Bernards Township has agreed to pay $3.25 million to settle litigation over its denial of an application to build a mosque.

On Monday the group made public the settlement terms in two separate suits filed under the Religious Land Use and Institutionalized Persons Act, one by the Islamic Society of Basking Ridge Inc. and the other by the U.S. Department of Justice. Both suits stem from the town planning board’s December 2015 decision denying a land use application by the Islamic Society for construction of a mosque.