In 2004, Walmart bought the 118 stores in the Bompreço supermarket chain in northeastern Brazil. In late 2005, it took control of the Brazilian operations of Sonae Distribution Group through its new subsidiary, WMS Supermercados do Brasil, thus acquiring control of the Nacional and Mercadorama supermarket chains, the leaders in the Rio Grande do Sul and Paraná states, respectively.