Complex sentence: He retained his position as a vizir until 1316, but after being charged with poisoning the Ilkhanate emperor Oljeitu, he was executed in 1318.
Split into simpler sentences: He retained his position as a vizir until 1316. After being charged with poisoning the Ilkhanid king Oljeitu, he was executed in 1318.