From 22–24 June, the U.S. V Corps under General William R. Shafter landed at Daiquirí and Siboney, east of Santiago, and established an American base of operations. A contingent of Spanish troops, having fought a skirmish with the Americans near Siboney on 23 June, had retired to their lightly entrenched positions at Las Guasimas. An advance guard of U.S. forces under former Confederate General Joseph Wheeler ignored Cuban scouting parties and orders to proceed with caution. They caught up with and engaged the Spanish rearguard of 1,500 soldiers led by General Antero Rubín who effectively ambushed them, in the Battle of Las Guasimas on 24 June. The Americans lost 16 killed and 52 wounded. The Spanish lost 12 dead and 24 wounded. On 1 July, a force of 15,065 American troops in regular infantry and cavalry regiments attacked 1,320 entrenched Spaniards in dangerous Civil War-style frontal assaults at the Battle of El Caney and Battle of San Juan Hill outside of Santiago, which cost the Americans 225 killed in action, 1,384 wounded in action, and 72 missing in action. At all battle sites on 1 July, the Spanish lost 215 killed, 376 wounded, and 200 captured.