The War of Canudos was a conflict between the First Brazilian Republic and the residents of Canudos in the northeastern state of Bahia. After a number of unsuccessful attempts at military suppression, the conflict came to a brutal end in October 1897, when a large subsection of the Brazilian army overran the village, razed it and slaughtered nearly all its inhabitants. This conflict marks the deadliest civil war in Brazilian history.