Original: The state is located in western Brazil, in a region mostly occupied by the inland marshes of the Pantanal.
Simplified: The state is located in western Brazil, in an area of the country that is mostly marshes of the Pantanal.