Koksal served as President of the
Republican People's Party (CHP) Afyonkarahisar Women's Branch in 2007. Köksal contested CHP preselection for the
June 2015 general election, beating incumbent CHP MP
Ahmet Toptaş for the first place list position, and was subsequently elected as the lone CHP
Member of Parliament for
Afyonkarahisar. She was narrowly re-elected in the snap
November 2015 elections. Köksal was one of 15 CHP deputies to join the
Good Party on 21 April 2018 to make the party eligible to contest the
2018 election. She retained first place on the CHP party list for
Afyonkarahisar in the 2018 Elections and was re-elected. She was a member of the Turkish Grand National Assembly Presidency Council for the first half of the
27th Parliament of Turkey Köksal was renominated for the first place list position for Afyonkarahisar for the
2023 elections, and was re-elected. She was then named a CHP deputy leader for the
28th Turkish Parliament. Köksal was selected as the CHP Mayoral candidate for Afyonkarahisar for the
2024 local elections. During the campaign, she attracted controversy for saying the doors of Afyonkarahar would be open to everyone except members of the
Peoples' Equality and Democracy Party. Istanbul Mayor
Ekrem İmamoğlu called on her to resign her candidacy or join a different party. As a result of her remarks, the CHP sent a non-discrimination pledge to all their mayoral candidates and required them to sign it. Köksal was elected Mayor of Afyonkarahisar with 50.73% of the vote and became the first female mayor of the city. She was sworn in on 3 April 2024 and her resignation from Parliament took effect on the same day. == Personal life ==