They were defeated in the battle of Başgedikler, losing 6000 men, half their artillery and all their supply train.