(covers information from an alternate timeline)
The Battle of Procyon V, fought in what was potentially the 26th century, was the final confrontation between the United Federation of Planets and the Sphere-Builders. At least some of the battle took place amid a trans-dimensional disturbance that extended 50,000 light years in all directions. The battle was a decisive victory for the Federation, resulting in its forces successfully driving the Builders back into their trans-dimensional realm. If the Sphere-Builders had won, they would have spread throughout the galaxy and annihilated everything along the way. When the Federation won the battle, Humans protected the Xindi from the Sphere-Builders.
The outcome of the battle was witnessed by the Sphere-Builders, as they had technology that enabled them to study alternate timelines. They contacted the Xindi in the past and fooled them into believing Humanity was a threat that needed to be wiped out, which the Sphere-Builders actually did in an attempt to prevent the Federation from ever being founded.
In 2154, as Captain Jonathan Archer was preparing to undertake a suicide mission to destroy the Xindi weapon in the Delphic Expanse, Temporal Agent Daniels transported Archer through time to witness the historic battle. They viewed the conflict from the observation deck of the USS Enterprise-J, which was participating in the battle from inside the trans-dimensional disturbance. It was Daniels' hope that Archer could be convinced to abandon his suicide mission and instead endeavor to make peace with the Xindi, informing Archer that, without him, the Federation would never come into existence and the Sphere-Builders would remain unopposed. Archer was unconvinced, however, and demanded that Daniels return him to his own time. (ENT: "Azati Prime")