Ivan Rakitić had ended his career. He will stay at Hajduk Split and become the assistant sports director.