Input (grade 5): October & ndash; James I succeeds his nephew, Peter II, as King of Cyprus.
Output (grade 7): Ibrahim I is selected to succeed Husheng as Shah of Shirvan (now Azerbaijan).