The president and senior Republicans initially resisted the disclosure, but eventually bowed to political pressure.