In 1941, Ocak began to take part in political activities in Gaziantep. In 1946 elections, he was an MP candidate from Democrat Party (DP). In 1950, he was elected as DP's local district chair and in 1951, as DP's province chair which lasted until 1957. From 17 November 1955 to 16 November 1956 he served as the mayor of Gaziantep. In 1961 elections after the 1960 coup d'état, he was an MP candidate from newly established Justice Party (AP). In 1962, he was chosen as AP's local district chair and served there until 1965. In 1963 local elections, he was elected as a member of Gaziantep city council. In 1965 elections, he was elected as AP Gaziantep deputy on 10 October 1965. Then he was appointed state minister responsible for sports by Prime Minister Süleyman Demirel. The cabinet was approved by the parliament on 11 November 1965. During his term, Ocak helped to build one stadium and one gymnasium in Gaziantep.