WASHINGTON — The Supreme Court on Wednesday seemed likely to preserve the $8 billion a year the government spends to subsidize phone and internet services in schools, libraries and rural areas.

The justices heard nearly three hours of arguments in a new test of federal regulatory power, reviewing an appellate ruling that struck down as unconstitutional the Federal Communications Commission’s Universal Service Fund, the tax that has been added to phone bills for nearly 30 years.

Liberal and conservative justices alike said they were concerned about the potentially devastating consequences of eliminating the fund that has benefited tens of millions of Americans.

A decision is expected by late June. — Associated Press