sentences:  In 1797, Tánh assisted Nguyễn Ánh in launching a seaborne attack on Quảng Nam, where they quickly defeated the Tây Sơn garrison and occupied the province.In 1799, Nguyễn Ánh launched the third expedition to Quy Nhơn.The expedition was successful, and Nguyễn Ánh captured the Citadel of Quy Nhơn and renamed the fortress town "Bình Định" (lit., "Pacified").