A big part of the Pennsylvania Supreme Court's job is to resolve heated debates—but this year, it seemed like those debates were more heated, more often than usual.

It started early, with a nasty fight over congressional redistricting.

In a Jan. 22 ruling in League of Women Voters of Pennsylvania v. Commonwealth of Pennsylvania, a majority of the court, led by Justice Debra Todd, invalidated the Congressional Redistricting Act of 2011 as unconstitutional and gave the legislature and the governor until Feb. 15 to come up with a new districting plan, warning that if they failed to do so the court would take matters into its own hands to “proceed expeditiously to adopt a plan based on the evidentiary record developed in the Commonwealth Court.”

Todd and fellow Democratic Justices David Wecht, Christine Donohue, Kevin Dougherty and Max Baer were all in agreement that the congressional map in place at the time was unconstitutional. Justice Sallie Updyke Mundy and Chief Justice Thomas Saylor, both Republicans, dissented in full.

Baer, however, also issued a concurring and dissenting statement to argue against rushing to redraw the map ahead of the May primary.

The decision ultimately did fall to the Supreme Court, which issued a new congressional map Feb. 19. In its per curiam decision, the court said the map “draws heavily upon the submissions provided by the parties, intervenors, and amici.” The ruling again drew dissents from SaylorMundy and Baer.

The ruling, as predicted, did not sit well with Republicans in the legislature. In March, a dozen Republican lawmakers signed on to proposed legislation to impeach Todd, Wecht, Donohue and Dougherty, prompting a stern rebuke from Saylor. Ultimately, the impeachment measure never came to fruition.

But the Supreme Court was only just beginning its forays into polarizing legal and political topics.

In April, the court employed its very rarely-used King's Bench powers to grant embattled hip-hop star Meek Mill's request to be let out on bail and ordered that the trial judge expedite the case, which has come under national scrutiny as an example of the need for criminal justice reforms.

The rapper, whose real name is Robert Williams, had been on probation since 2008. Philadelphia Judge Genece Brinkley sentenced Williams in November to two-to-four years in prison after he was arrested twice in 2016 on charges that were later dropped. The sentence stunned both Williams' fan-base and criminal justice attorneys alike, since neither Williams' probation officer nor the prosecutor on the case had sought jail time.

The sentence brought Philadelphia into the national spotlight over issues about inequalities in the criminal justice system, and it also sparked a very public feud between Williams and Brinkley, with Williams accusing the judge of being enamored with him and alleging that the FBI had investigated her handling of the case.

Although Williams had repeatedly sought to have Brinkley removed from the case, the Supreme Court rejected that request, but said Brinkley “may opt to remove herself” from the case.

Another bid by Williams to have Brinkley tossed from the case made its way back up to the Supreme Court in August, but again it was rejected. The justices said Williams would have to bring his claims to the state Superior Court first.

About a year before it granted Williams' King's Bench petition, the Supreme Court had declined to grant such a petition seeking expedited review of the city of Philadelphia's highly controversial sweetened beverage tax.

But the justices got their chance to jump back into the fray this July, when an appeal from the Commonwealth Court's ruling upholding the tax made its way up to the Supreme Court in the usual course.

The tax was Philadelphia Mayor Jim Kenney's signature legislative effort, but it was met with challenges by several retailers and beverage distributors, who contended that it was a “power grab” by city officials and a violation of Pennsylvania's Sterling Act.

The high court ultimately agreed with the Commonwealth Court that the tax was legal, rejecting arguments that the levy improperly duplicated the state sales tax.

Later that same month, the state Supreme Court ruled to allow the Pennsylvania attorney general to release a redacted version of a widely anticipated grand jury report outlining decades of sexual abuse that occurred in Catholic dioceses across Pennsylvania. The justices further agreed to allow those challenging the full release of the report to argue their case before the high court in September.

The grand jury report was released in August, sparking a national debate about accountability for child sexual abuse, and leading several states and the U.S. Department of Justice to launch similar investigations. The Archdiocese of Philadelphia also established an out-of-court compensation fund for the victims of clergy sexual abuse, which is being overseen by a cadre of former government officials.

The issue of whether the names of clergy members included in the grand jury report should be made public was finally resolved in December, with the justices voting 6-1 that the report should remain redacted. The court cited the constitutional right to reputation and the separation of powers in reaching that determination.

In August, the Supreme Court ruled 5-2 to reverse a Commonwealth Court decision that struck down much of Gov. Tom Wolf's executive order creating a process for organizing home care workers.

The high court vacated the lower court's ruling, rejecting its finding that Wolf's order improperly gave direct-care workers the power to collectively bargain in contravention of the Pennsylvania Labor Relations Act and the Pennsylvania Employee Relations Act.

Wolf issued the executive order in February 2015, establishing an advisory group to manage the quality of long-term personal care services, and creating a process by which a representative of direct-care workers would be selected to meet with state officials to negotiate payment procedures and other working conditions. The order touched off a statewide debate over whether the arrangement created a de facto union. The high court said it did not.

And just before Thanksgiving, a six-justice high court unanimously reversed a controversial lower court ruling on data breach liability and in the process issued a landmark decision on cybersecurity law in Pennsylvania.

The Supreme Court ruled that companies have a common-law duty to protect their electronically stored employee data, reversing both an Allegheny County trial court ruling and a Superior Court ruling that tossed out a lawsuit against UPMC over a data breach that exposed the personal information of tens of thousands of current and former employees.

The high court has plenty more big cases teed up for 2019. We'll take a look at the issues the justices will be tackling in the new year in an upcoming piece.