From the moment in which he had first become convinced that the election would go against him, and that he was therefore ruined on all sides, he had resolved that he would be calm amidst his ruin. 
From the moment in which he had first realised that the election would go against him, he had resolved that he would be calm amidst his ruin. 