Alina Habba resigned as New Jersey's top federal prosecutor after a court ruled her appointment unlawful.
Habba cited protecting office stability but called the ruling political.
Her appointment faced challenges over limited federal court experience and potential Senate block.