
Defeated the caliphate at the Battle of Simancas.
Ramiro II crushed a rebellion by the Banu Qasi family, a powerful Muslim dynasty in the Ebro Valley, who had allied with the Caliphate of Cordoba. He captured their strongholds and executed their leader, Muhammad ibn Hashim, eliminating a major threat to Leonese security.
Ramiro II led a coalition of Christian forces to a decisive victory over the Caliphate of Cordoba under Abd al-Rahman III at Simancas. The battle was the first major defeat of the caliphate and halted Muslim expansion into the Duero Valley. Ramiro's victory secured Leonese independence and prestige.
Following the victory at Simancas, Ramiro II ordered the repopulation of the abandoned city of Salamanca. He granted land and privileges to settlers from the north, establishing a fortified Christian presence on the southern bank of the Duero. This repopulation strengthened Leonese control over the region.