The Turkish Foreign Ministry confirmed on Monday that a Turkish cargo ship was shelled from the Libyan coast as it approached the port of Tobruk and then attacked from the air as it tried to leave the area on Sunday.

In a statement, the ministry condemned the attack which resulted in the killing of the third captain of the ship, caused injuries to the staff and material damages to the ship. 

"We strongly condemn this ruthless attack carried out against a civilian ship on international waters" the ministry said. 

The ministry also stated that it is vital to hold the perpetrators of the attack responsible under the scope of the United Nations General Assembly Resolutions.

Reports say the ship was attacked by rogue general Khalifa Haftar's air force. A Tobruk military source told Erem News that the ship was attacked by "the Libyan Army" after it had refused to stop for inspection.