In December 1807, Jefferson announced his intention not to seek a third term. He turned his attention increasingly to Monticello during the last year of his presidency, giving Madison and Gallatin almost total control of affairs. Shortly before leaving office in March 1809, Jefferson signed the repeal of the Embargo. In its place, the Non-Intercourse Act was passed, but it proved no more effective. The day before Madison was inaugurated as his successor, Jefferson said that he felt like "a prisoner, released from his chains".