The U.S. Supreme Court stopped gay marriage in Virginia from going ahead on Wednesday, staying an appeals court ruling that had struck down a state ban.

The court granted a stay application filed by opponents of gay marriage. The action was not a ruling on the merits of gay marriage, but means a July 28 pro-gay marriage ruling by the Richmond, Virginia-based 4th U.S. Circuit Court of Appeals will not be implemented while litigation continues.

The high court issued its brief order less than 24 hours before gay and lesbian couples in Virginia could have begun applying to be married.