Kalfun was the first Emir of Bari during the Islamic control of that Apulian city. He was of Berber descent.
Kalfun came from the Aghlabid emirate in North Africa. He was a former servant, and maybe even had once been a slave.
In 847 he led Muslim forces that captured the formerly Byzantine city of Bari, and he set himself up as the emir in that city - founding the Emirate of Bari which would last until 871.