WASHINGTON — Five protesters who pleaded guilty to causing disruptions in the U.S. Supreme Court have been sentenced to a few days in jail.

A spokesman for the U.S. Attorney’s Office for the District of Columbia says four were sentenced to one weekend in jail and a fifth man, Matthew Kresling, was sentenced to two weekends in jail. William Miller says all five are required to stay away from the Supreme Court for one year.

The demonstrators were seated in the courtroom on April 1, 2015. After the session began, they rose one by one to protest the court’s campaign-finance rulings.

Kresling said in a statement posted online that they disrupted the court to “warn that the public was losing faith in the fairness and integrity of its government.”