US President Donald Trump confirmed Khamenei's death via his Truth Social platform with mourners gathering across Iran.