MADISON, Wis. -

The Wisconsin Supreme Court has agreed to hear a lawsuit brought by two unions challenging the constitutionality of Gov. Scott Walker's law effectively ending collective bargaining for most public workers.

The Supreme Court announced on Friday it was taking the case.

The 4th District Court of Appeals in April asked the Supreme Court to take it, noting ongoing uncertainty about the law's status.

The case was brought by unions representing Madison school teachers and city of Milwaukee workers. A Dane County circuit judge last year overturned the law as it pertained to local government unions, but it was unclear if the ruling applied outside Madison and Milwaukee.

The Supreme Court could have sent the case back to the appeals court to rule first, but instead decided to hear it directly.