Turkish President Tayyip Erdogan said in Istanbul that those who were involved in coup attempt will be punished.
A mission to fully cleanse the Turkish military of traitorous elements has begun, Erdogan said in the wake of a coup.
He was greeted by crowds at Istanbul's Ataturk airport early on Saturday, showed broadcast by NTV.
He spoke to supporters after the plane carrying him landed in Istanbul, Xinhua news agency reported.
Turkish Prime Minister Binali Yildirim has said the situation in Ankara was largely under control and 120 people were arrested.
About 15 minutes before his remark, the parliament building was hit by bombs with people injured, local media reported.
A no-fly zone over Ankara has been declared.