Did medieval islamic rulers of Egypt use the pyramids for their burials? If not, how did they regard the pyramids?

by Arcenus

I was playing CK2 and my character got buried in the pyramids by his son. Did something similar occur ir reality?

WelfOnTheShelf

No, they probably didn't realize they were tombs at all. They thought the pyramids might contain treasure, and another popular story was that they were granaries built by Joseph/Yusuf in the Bible/Qur'an. There's lots more that could be said about this, but I wrote something about it a few weeks ago: Why did the Sultan of Egypt Al-Aziz Uthman attempt to demolish the Pyramids in the late 12th century?