Parking Brake Help

When removing the parking brake assembly from a 2000 Mazda B2500 / Ford Ranger, how do you get all the bolts out of the mounting bracket? There is a black electrical box snapped into the floor board and I can’t figure out how to get that out to get at the last of the bolts.