Complex sentence: Gaudi's excited report at first confirmed Frederick in his error, but when the king saw for himself that hostile cavalry and infantry were already approaching Pettstädt, he realized the enemy's intentions.
Split into simpler sentences: Gaudi's excited report at first confirmed Frederick in his error. But when the king saw for himself that hostile cavalry and infantry were already approaching Pettstädt, he realized the enemy's intentions.