A deal to lift an armed blockade of Libyan oil ports and restart exports could be possible within two weeks, after talks with the government advanced on key demands, a senior leader of the protest movement said.

Abb-Rabbo al-Barassi, prime minister of the self-declared eastern region government, told Reuters that Tripoli and his federalist movement are closing the gap, and a deal to resolve the standoff at oil ports could be weeks away.

"I see progress with the state, the government, the General National Congress assembly," he said in an interview at the group's base in Ajdabiya. "I think it won't take longer than two weeks to reach a deal, God willing. Maybe even less than that."

The group, led by a former rebel who once battled leader Muammar Gaddafi, seized three major eastern ports in summer to demand a greater share of oil wealth and more regional autonomy, choking off 600,000 barrels per day of oil exports.

Prime Minister Ali Zeidan's government in Tripoli has been trying to reopen the ports as it faces a budget crunch that risks deepening unrest in the OPEC producer. Oil exports, Libya's lifeline, have more than halved since summer.

Deputies from the General National Congress (GNC) parliament and tribal leaders have tried mediate to end the port seizures, but so far government and federalists led by al-Ibrahim Jathran have engaged only in a war of words.

Oil markets have been sceptical of such announcements in the past as militias and tribesmen wrangling for power in the post-Gaddafi era reach deals which often fall apart. Talks with Jathran's group to reopen the seized Ras Lanuf, Es-Sider and Zueitina ports failed at the last minute in December.

But Barassi, a former army colonel, said Zeidan and GNC head Nuri Ali Abu Sahmain had noticeably softened their stance towards his group.

"We are optimistic. Even Mr Ali Zeidan's comments are not as sharp as they used to be. Also Nuri Sahmain is also not so tough anymore in his language," he said. "There's no threat of using force, but a will to talk."

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.