In 1996, a Republican-controlled Congress prohibited lawyers receiving federal funding - the mainstay of nearly all poverty law offices - from engaging in class-action lawsuits and matters involving abortion, illegal immigration or challenges to reduced welfare benefits inaugurated by President Clinton and some other Democrats.
Congress is fine with the federal government giving money to lawyers.