A gunman killed by Turkish security forces after wounding two people in the courtyard of Istanbul's historic Topkapi Palace on Wednesday was a Libyan national born in 1975, Interior Minister Idris Naim Sahin was reported as saying by broadcasters.

The attacker had opened fire with a pump-action rifle around the time the first visitors would normally be arriving at the palace, one of Istanbul's top tourist draws in the city's Sultahmet district. He was killed after a one-hour siege.

(Writing by Daren Butler; Simon Cameron-Moore)