Ankan attained the Imperial throne when his father , Emperor Keitai , abdicated in his favor . According to Kojiki Ankan was the elder son of Emperor Keitai . When Ankan was 66 years old , Keitai abdicated in favor of him .