By Ahmed Elumami and Ayman al-Warfalli
TRIPOLI/BENGHAZI, Libya (Reuters) - Warplanes from Libya's official government attacked an oil tanker afloat near the city of Sirte on Sunday, wounding two people and setting the ship on fire, officials said.
It was the third confirmed strike by the internationally recognised government on oil tankers, part of a conflict between competing administrations and parliaments allied to armed factions fighting for control of the country four years after the ousting of Muammar Gaddafi.
The recognised premier Abdullah al-Thinni has been working out of the east since losing the capital Tripoli in August last year to a rival faction. Both sides have been attacking each other with warplanes and thanks to loose alliances with former anti-Gaddafi rebels have also been fighting on several fronts on the land.
"Our jets warned an unflagged ship off Sirte city, but it ignored the warning," the eastern air force commander Saqer al-Joroushi told Reuters.
"We gave it a chance to evaluate the situation, then our fighting jets attacked the ship because it was unloading fighters and weapons," he added.
"The ship now is on fire. We are in war and we do not accept any security breaches, whether by land, air or sea," Jourushi added.
Mohamed El Harari, a spokesman for Tripoli-based state oil firm NOC, said the Libyan tanker Anwar Afriqya had been carrying fuel for Sirte's power plant. Another oil industry official said the size of the cargo was 25,000 tonnes.
Rida Essa, commander of coastal guards in central Libya loyal to the Tripoli-based rival government, said the tanker had been unloading gasoil for the plant when it came under attack. The ship was still on fire, he said.
He said a crew member and a port worker had been wounded.
Sirte's power plant on the western outskirts is controlled by forces loyal to Tripoli. The rest of the city has fallen into the hands of Islamic State which has exploited a security vacuum.
The eastern government had already attacked in January a Greek-operated tanker docking at Derna, killing two seamen and accusing the shipper of sending weapons. NOC had said the tanker was only carrying heavy fuel oil for a power plant.
Two weeks ago forces loyal to the official governmen shelled a Turkish ship off the Libyan coast after it was warned not to approach. One crew member was killed in what Turkey described as a "contemptible attack".
Libya's recognised government has said its forces will hit any ships approaching ports without prior permission.
(Reporting by Ahmed Elumami, Ayman al-Warfalli and George Libby; Writing by Ulf Laessing; Editing by Andrew Heavens and Greg Mahlich)