Consider a sealed container filled with an ideal gas at a constant temperature. According to the ideal gas law, pressure (P), volume (V), and temperature (T) are related through the equation PV = nRT, where 'n' is the number of moles of the gas and 'R' is the ideal gas constant. If the volume of the gas is halved while keeping the temperature constant, what happens to the pressure of the gas in the container?