Makram was born in 1750 in Asyut. He was educated at Al-Azhar University, and became a leader of the nobles of Egypt and an Egyptian national hero. He was prominent in resistance to the 1798 invasion of Egypt by France (led by Napoleon).