The East Timorese rebellion of 1911-12, sometimes called the Great Rebellion or Rebellion of Manufahi, was a response to the efforts of Portuguese colonial authorities to collect a head tax and enforce the corvée, part of their larger effort to encourage cash crop agriculture and construct modern infrastructure. The countrywide conflict of 1911-12 was the culmination of a series of revolts led by Dom Boaventura, the liurai  of the native kingdom of Manufahi. The first lasted from 1894 to 1901, the second from 1907 to 1908. In 1911 Boaventura led an alliance of local kingdoms in the last and most serious revolt against the Portuguese. In February 1912 rebels from one kingdom entered the colonial capital of Dili, killing and burning as they went. They looted Government House and decapitated several Portuguese soldiers and officers. In August, the Portuguese brought in troops from Mozambique and a gunboat from Macau to suppress the revolt. The revolt cost 3,424 Timorese killed and 12,567 wounded, and 289 Portuguese killed and 600 wounded. After 1912 the Portuguese pacification of East Timor was complete. They also ceased to appoint hereditary liurais and the native states went extinct. The rebellion of 1912 was seminal in creating an East Timorese identity distinct from "Portuguese subject" or just "Timorese".. How many years did the longest revolt last?