Private James Ramirez is a playable character and the secondary protagonist of the campaign in Call of Duty: Modern Warfare 2. Ramirez is introduced in the mission Wolverines!, serving alongside Sergeant Foley and Corporal Dunn in the 1st Battalion 75th Ranger Regiment, Hunter Two-One. Ramirez is presumably Joseph Allen's replacement, as Allen was recruited into Task Force 141.
Ramirez and his squad respond to a Russian invasion and move into Virginia. They then help friendly troops extract "Raptor", and then go on to Arcadia to rescue trapped civilians with the help of the Stryker armored vehicle "Honey Badger".
After destroying AA batteries threatening the civilians, the Rangers move to a devastated Washington D.C., where U.S. troops are fighting a desperate battle against Russian troops. Hunter Two-One assaults and attempts to clear the Department of Commerce building, buying the evacuation site valuable time. They board a UH-60 Black Hawk and assault Russian ground forces, only to get shot down by Stinger missiles over the SAM sites on the Department of Justice building. After their helicopter crashes, Ramirez finds himself trapped in the Blackhawk with injuries and the squad is swarmed by Russian forces. As they run out of ammo, Dunn is wounded, and several squads of enemy soldiers assault their position while a nearby Havoc helicopter blinds the surviving Rangers with its searchlight.
All seems lost until an ICBM launched by Captain Price airbursts, over Washington D.C. The resulting EMP knocks the enemy Havoc and all other aircraft out of the sky. The Rangers help Ramirez out of the helicopter and retreat with his squad into a nearby building while the crashing planes kill the attacking troops. After encountering a friendly runner who tells them to get to Whiskey Hotel, they fight their way through some office buildings. Despite heavy resistance from the Russian forces, they eventually regroup on the White House Lawn, where U.S. stragglers under the command of Colonel Marshall are attempting to retake Whiskey Hotel. Marshall orders the squad to proceed up the left flank and they fight through heavy Russian resistance. After fighting through the desperate Russian troops, Ramirez and another Ranger take point and make their way to the roof. They wave green signal flares to call off the friendly airstrikes that are part of the "Hammerdown" protocol. He then sees other green flares on other buildings across the ruined Washington D.C.