The Working Group on Markets (aka the Plunge Protection Team, or "PPT") was created by President Ronald Reagan by executive order after the Panic of 1987. Its role is to use Treasury and Federal Reserve funds to prop up the markets in the event of a panic.
It's all very legal.
bttt