When Jefferson took office, he ordered "his" Secretary of State, James Madison, to cancel the ones that had not been delivered. So then Marbury sued Madison because Marbury wanted his job as Justice of the Peace in the District of Columbia.