Thousands lined the streets of the Turkish capital, Ankara, on Saturday to pay their respects to former leader Bulent Ecevit.
Mr Ecevit, who was 81, served as Turkish prime minister five times in a political career spanning 50 years.
His widow, Rahsan Ecevit, was among the mourners at ceremonies which culminated in a state funeral.
The crowds turned the funeral into a political event - a show of support for the republic and the secular principles it was founded on.
There were cheers for the president and military commanders, but jeers for Prime Minister Recep Tayyip Erdogan (centre) whose party has its roots in political Islam.
Many people say they will remember Bulent Ecevit, in his customary cloth cap, as a modest man from the political left wing and an honest one.