CHEYENNE, Wyo. (AP) — State lawmakers have rejected a bill that would have allowed counties to require developers to set aside land for new schools.

The bill passed the House but the Senate defeated it in a 15-14 vote on Tuesday.

The bill was pushed by lawmakers from the Cheyenne area in the wake of a controversy over the placement of a new elementary school there.

The Wyoming Tribune Eagle reported that the bill would have allowed counties to require developers to consult with school boards. If a school board had recommended that a developer set aside land for a new school, counties could make that a requirement of a permit to build a new subdivision.