The most widely accepted story traces the Ramadan cannon back to 15th-century Egypt during the reign of Sultan Khosh Qadam.