Career Mahmud died of smallpox in 1521 at the age of nine, when his father had already been sultan of the Ottoman Empire.