The Netherlands attempted to re-establish their rule, and a bitter armed and diplomatic struggle ended in December 1949 when the Dutch formally recognised Indonesian independence in the face of international pressure. Despite extraordinary political, social and sectarian divisions, Indonesians, on the whole, found unity in their fight for independence.