During the time of the rule of King Eärnur, the Ringwraiths captured Minas Ithil, and it was renamed Minas Morgul. Minas Anor was renamed Minas Tirith ("Tower of Guard"). Both cities were in a constant state of war, much of the action taking place around or in the former capital of Osgiliath. During the War of the Ring, Gondorian-controlled Western Osgiliath fell to Mordor, allowing Sauron to attack Minas Tirith. The Orcs attacked the city, but the coming of the Rohirrim forced them to stop, allowing the defenders to charge the enemy. The Battle of the Pelennor Fields was won by the Men of Gondor and Rohan.