Turkey's military on Wednesday ended a three-month operation against Kurdish militants in the largest city in the country's mostly Kurdish southeast, which had raised concerns about civilians being caught up in the fighting and the possible destruction to monuments and heritage.