New Mexico county clerks will ask the state Supreme Court to clarify whether state law allows same-sex marriage after lower court rulings legalized gay nuptuals in some of the state’s largest counties.

The clerks voted unanimously to seek guidance from the high court, the Albuquerque Journal reported Thursday.

Last week, a judge in Santa Fe County ordered the county clerk to begin issuing same-sex marriage licenses. Earlier this week, a judge in Bernalillo County, the state’s largest, issued a similar ruling. Because state law doesn’t prohibit same-sex marriage, clerks in four more counties — Dona Ana, San Miguel, Valencia and Taos — began issuing same-sex marriage licenses on their own.

Daniel Ivey-Soto, the executive director of the state’s association of county clerks and a state senator, told the Journal a court motion will be filed Thursday, though the association hadn’t decided in which court to file the motion.

On Wednesday, the state Supreme Court denied a request from a couple involved in the Santa Fe lawsuit to consolidate and take over the group of lawsuits seeking to legalize same-sex marriage.