Union president detained