The official was eventually freed after clashes with police .