Uhuru and Ruto basically decided to steal public funds to finance their campaign. Towards the end of the July the resorted to looting. The idea was that they had the whole thing under wraps. They were going to rig and Kenyans would remain quiet and subdued. They would browbeat Raila, call him names and generally get away with the heist.
On the little detail of theft, they would fix the whole thing. A new Auditor General would rubber stamp everything. A massive media campaign would promote optimism in the economy and they would borrow more money to fill up the holes. They also expected the Turkana oil to start being pumped and that would bring in the petro dollars.
As you know things simply went south. They were caught stealing. What is more, the judges refused bribes and were ready to be killed for their values.
The NIS promised to get them to read the Njoki judgement and even smuggled it inside the court. They refused. Jomo Gecaga came to Maraga's office to issue threats: Maraga refused. But somehow he assumed he had succeeded. They were celebrating at State House
So when Maraga entered the court room to read the majority opinion, it came as a lightening bolt.