Neo encounters the Deus Ex Machina, a giant machine construct and the leader of the machines. He offers Smith's defeat and destruction to the Deus in exchange for a truce. The offer is accepted; Neo enters the Matrix to find that Smith has copied himself throughout the simulated world, now truly threatening the safety and stability of the Matrix. One of the copies of Smith, having assimilated the Oracle and obtained as much freedom and control over the virtual world as Neo, faces Neo alone. For a while, the two fight evenly with no real advantage, but ultimately, the tireless Smith begins to wear out Neo and takes control of the fight. Realizing that he cannot win with brute force, Neo allows Smith to assimilate him, which enables the machines to eradicate the Smith virus directly through his body. Unfortunately, the process also kills Neo.
