ISTANBUL — Aided by the American undersea explorer who found the Titanic, rescue teams from Turkey on Wednesday located the wreckage of an unarmed Turkish jet downed in the Mediterranean by Syrian gunners nearly two weeks ago, with the bodies of the two pilots trapped inside.

Turkish military authorities said the wreckage was discovered at an unspecified location on the seabed. It was not made clear whether the pilots were still strapped into their cockpit seats or had made some effort to escape after the plane crashed.

The June 22 downing of the plane, a two-seat F-4 Phantom, worsened the already tense relationship between Turkey and Syria, formerly close neighbors who have fallen out over the Syrian government’s harsh repression of an uprising that is now more than 16 months old and by some estimates has left more than 14,000 people dead. Turkey is allowing Syrian insurgents sanctuary along the 550-mile border with Syria, and more than 35,000 Syrian refugees have taken shelter in Turkish camps.