POCATELLO, Idaho (AP) — A recount has been ordered of last month's vote by Pocatello residents retaining an ordinance banning discrimination against a person because of sexual orientation or gender identity.

The recount is set for June 27 and comes at the request of a group opposed to the city ordinance approved by the Pocatello City Council in June 2013 and backed by voters on May 20. Officials say that 4,943 people voted to keep the law in place, while 4,863 people voted to rescind it.

The recount will take place at the Bannock County Courthouse. Representatives of those for and against the non-discrimination ordinance will be allowed to observe the recount. The ballots have been impounded and are being held by the Bannock County Sheriff.