May 23 (UPI) -- A federal judge in San Francisco on Friday issued an injunction, blocking President Donald Trump from laying off thousands of federal employees working at more than 20 government agencies.

The order issued by U.S. District Court Judge for the Northern District of California Susan Illston also bars the Department of Government Efficiency and U.S. Office of Management and Budget from making further reductions to the federal workforce.

"Presidents may set policy priorities for the executive branch, and agency heads may implement them. This much is undisputed. But Congress creates federal agencies, funds them, and gives them duties that-by statute-they must carry out," Illston wrote in her 51-page ruling.

"Agencies may not conduct large-scale reorganizations and reductions in force in blatant disregard of Congress's mandates, and a President may not initiate large-scale executive branch reorganization without partnering with Congress."

Related