Most of Tyler's Cabinet resigned soon into his term, and the Whigs dubbed him His Accidency and expelled him from the party. Tyler was the first president to see his veto of legislation overridden by Congress. He faced a stalemate on domestic policy, although he had several foreign-policy achievements, including the Webster–Ashburton Treaty with Britain and the Treaty of Wanghia with Qing China.