Sounds like Virginia prior to the Youngkin election.
I saw this happen the first time ever in Washington State when Dino Rossi lost at the last moment in I believe the 1995 or 1996 election. He was just burning up the votes and then all of a sudden magically and this happened the number of times where the city of Seattle and King County just seem to be going and finding more and more balance to count and the quantity that they found just magically was just enough. What really took the cake was when they found at the last moment that they had missed some ballots that were literally in the parking lot in a vehicle and they broke those out of the vehicle and took them inside to The Counting Room, those ballots found in that car where the thing that sealed the deal. The thing that pissed everybody off Was Dina Rossi just conceded immediately and did it challenge it.