Sri Lankan politics for several years witnessed a bitter struggle between the president and the prime minister, belonging to different parties and elected separately, over the negotiations with the Tamil Tigers to resolve the longstanding civil war.