WASHINGTON (AP) — The U.S. government accused Standard & Poor’s of inflating ratings on mortgage investments to boost its bottom line, taking aim at a key player in the run-up to the financial crisis.

In charges filed late Monday in Los Angeles federal court, the Justice Department said S&P gave high marks to mortgage-backed securities that later went sour, even though it knew they were risky. The government said S&P misrepresented the risks because it wanted more business from the banks.