But a conspiracy rose against him .
Later he was assassinated by the commander of the Habshi palace - guards , Shahzada , in 1487 .
But a conspiracy rose against him and later he was assassinated by the commander of the Habshi palace - guards , Shahzada , in 1487 .