Conquest of Mecca
Also called: Fath Makkah
After a long struggle, Muhammad and the Muslims of Medina entered Mecca with little resistance and cleared the idols from the Kaaba, which became the sanctuary of Islam.

Post of Switzerland · Public domain · Source
After the Hijra the Muslim community of Medina fought the Quraysh of Mecca. It won at Badr in 624 and lost at Uhud in 625, and in 627 it held off a Meccan coalition by digging a trench around the city. In 628 at Hudaybiyya it agreed a ten-year truce with Mecca and was allowed to make the pilgrimage the next year.
When an ally of Mecca broke the truce, Muhammad marched in January 630 with some ten thousand men and entered the city almost without bloodshed. He destroyed the idols in and around the Kaaba and pardoned most of his old enemies, and the Meccans accepted Islam. The Kaaba became the direction of Muslim prayer (qibla) and the centre of pilgrimage. Arabian tribes sent delegations to submit one after another, and by Muhammad’s death in 632 most of the peninsula was united under Islam.