The ensuing civil war lasted from 1402 to 1413 as Bayezid's sons fought over succession