Cokić was appointed as governor of the Podunavlje District on February 14, 2014. This area was badly affected by the 2014 Southeast Europe floods, and Cokić made an urgent appeal during this time for drinking water to be imported to the area. He resigned in July 2016, following his election to the Serbian assembly.