However , the British commander General William Earle was killed .
Emboldened by their victory at the Battle of Khartoum , the Mahdists attacked the British column ascending the river at Kirbekan , but were repulsed .