Sen. James Inhofe doesn't like Egyptian President Mohamamd Morsi.

"I think Morsi's an enemy, I think their military is a friend," Inhofe said while questioning Chuck Hagel during the latter's confirmation hearing as secretary of Defense on Thursday before the Senate Armed Services Committee, where Inhofe sits as the ranking member.

"Right now, Morsi has already distanced himself from the military. To me that's a first good step, and I would like to think that we could reinstate a friend in that area," Inhofe said, suggesting a bill to impose conditions on U.S. military aid to Egypt.

Hagel said backing such a bill would be up to the president.

Morsi is Egypt's post-uprising president. His predecessor, Hosni Mubarak, rose to power as a lieutenant general before becoming president. When he left power amid turmoil in 2011, he ceded power to the military.