Commonwealth Court Judge Dan Pellegrini ordered Hanes not to issue any more licenses, and barred him from accepting certificates from the 56 couples who had received a license but not yet gotten married.
A federal judge last week, in a separate case, took the same view as Hanes and struck down the state's same-sex marriage ban as unconstitutional and discriminatory. But Hanes was still bound by Pellegrini's ruling and could not resume issuing licenses until the ruling was lifted.
While dozens of couples were popping champagne in Philadelphia, Bucks, Chester, and Delaware Counties, Hanes' office had to tell customers to wait, or go elsewhere.
Some couples did go elsewhere. But a few said they would wait until Hanes could give them the stamp of approval.
Hanes, a round, mustachioed 67-year-old who is even-tempered but unafraid of controversy, said last week that he was gratified to see the ban overturned, and downplayed the delay in his own office.
"That's something that is sort of a blip on the spark of history. We'll look back on it as just that, an inconvenient moment," he said last Wednesday.
By then, the governor's office had announced that it would no longer defend the same-sex marriage ban, and state attorneys began requesting that all pending cases - including that against Hanes - be dropped.
"I continue to maintain the belief that marriage is between one man and one woman," Corbett said in a statement. But "after review of the opinion and on the advice of my Commonwealth legal team, I have decided not to appeal."
County Commissioner Josh Shapiro said last Wednesday: "It's a temporary hold. I view this more as a technical issue. The stay will be lifted very shortly."
But Thursday and Friday came and went, followed by a long holiday weekend.
The state Supreme Court finally lifted Pellegrini's order Tuesday afternoon - just a few minutes before Hanes' office closed for the day.