A sharply divided Supreme Court on Monday made it harder for Americans to sue businesses for retaliation and discrimination.

The court’s conservatives, in two 5-4 decisions, ruled that a person must be able to hire and fire someone to be considered a supervisor in discrimination lawsuits, making it harder to blame a business for a co-worker’s racism or sexism. The court then decided to limit how juries can decide retaliation lawsuits, saying victims must prove employers would not have taken action against them but for their intention to retaliate.

In the first case, the University of Texas Southwestern Medical Center wanted a discrimination lawsuit won by Dr. Naiel Nassar thrown out. Nassar, after complaining of harassment, left in 2006 for another job at Parkland Hospital, but the hospital withdrew its job offer after one of his former medical center supervisors opposed it. Nassar sued, saying the medical center retaliated against him for his discrimination complaints by encouraging Parkland to take away his job offer. A jury awarded him more than $3 million in damages.

The medical center appealed, saying the judge told the jury it only had to find that retaliation was a motivating factor in the supervisor’s actions, called mixed-motive.

In the second case, Maetta Vance, who was a catering specialist at Ball State University, accused a co-worker, Shaundra Davis, of racial harassment and retaliation in 2005. Vance sued the school under the Civil Rights Act of 1964, saying the university was liable since Davis was her supervisor. But a federal judge threw out her lawsuit, saying that since Davis could not fire Vance, she was only a co-worker, and since the university had taken corrective action, it was not liable for Davis’ actions. The 7th U.S. Circuit Court of Appeals upheld that decision, and Vance appealed to the Supreme Court.