A bloodless coup in August 2005 deposed President TAYA and ushered in a military council that oversaw a transition to democratic rule .