A Libyan security official says an airstrike, believed to have been carried out by the air force loyal to the country's elected government, has hit the only functioning airport in the capital, Tripoli.

The official says Thursday's trike targeted the Matiga air base, damaging the tarmac. It's the only functioning airport in Tripoli after battles between rival militias last summer destroyed much of the Libyan capital's international airport.

There were no casualties in the airstrike. The official spoke on condition of anonymity because he was not authorized to speak to the media.

Libya's political crisis has left the country with two parliaments and two governments, along with rival militaries and militias. The elected government is based in the country's east while Islamist-allied militias control Tripoli.