In late August, anti-Gaddafi fighters captured Tripoli, scattering Gaddafi's government and marking the end of his 42 years of power. Many institutions of the government, including Gaddafi and several top government officials, regrouped in Sirte, which Gaddafi declared to be Libya's new capital. Others fled to Sabha, Bani Walid, and remote reaches of the Libyan Desert, or to surrounding countries. However, Sabha fell in late September, Bani Walid was captured after a grueling siege weeks later, and on 20 October, fighters under the aegis of the National Transitional Council seized Sirte, killing Gaddafi in the process. However, after Gaddafi was killed, the Civil War continued.