The Battle of Dagorlad occurred in the year 3434 of the Second Age. It was fought between the army of the Last Alliance under Gil-galad and Elendil and an army of Orcs and other creatures loyal to Sauron. The battle took place on the great, treeless, open plain between the Dead Marshes and Cirith Gorgor. The army of the Last Alliance won the battle and was able to attack the Morannon, the entrance to Sauron's land of Mordor. Later, in the Third Age, the Dagorlad was the site of many battles between Gondor and various Easterling armies.
Later, in the Third Age, the Dagorlad was the site of many battles between Gondor and various Easterling armies.
As a result of the Battle of Dagorlad that was staged there, the Dead Marshes became what they were when Frodo crossed them in the Third Age.
Note: In Peter Jackson's movie adaptation of The Lord of the Rings, Dagorlad is misspelled as "Dagorland" on various maps shown in the films and in the appendices of the special extended DVD editions.