<human>:  Who was the last emperor of the Mughal empire?
<bot>: The last emperor of the Mughal empire was Bahadur Shah Zafar. He was the last emperor of the Mughal empire, which was founded by Babur in 1526.