She served for eleven years before President Jimmy Carter appointed her U.S. Secretary of Education . She was often mentioned as a possible nominee to the U.S. Supreme Court and served for eleven years before President Jimmy Carter appointed her to be the first U.S. Secretary of Education .