(CNN) -

Former Secretary of State Condoleezza Rice will endorse GOP presidential candidate Mitt Romney on Wednesday, campaign sources told CNN. Rice also confirmed news of the endorsement.

Rice served as secretary of state from 2005-2009 under former President George W. Bush. Before that she was Bush's national security adviser.

Rice was the first African American woman to lead the State Department.

On Tuesday, Romney hit the "magic number" of Republican delegates necessary to win the GOP nomination this summer.