"The last US soldier left the Kabul Airport today midnight, and our country has finally become free and has gained full independence," he tweeted.
Mohammad Naeem, the spokesman of the Taliban political office in Qatar, congratulated the people of Afghanistan with the end of foreign military presence in their country.
"Congratulations to all our people, all our fighters. Today, all foreign forces left our sacred land," he tweeted.
Earlier, US Central Command head General Kenneth McKenzie confirmed that the US withdrew its forces from Afghanistan and completed the evacuation of civilians, marking the end of the US military mission in the republic, which lasted since September 11, 2001.