A Commonwealth Court judge on Wednesday ruled that Lt. Gov. Stack continues to maintain his primary residence in Philadelphia.

Per a story on philly.com, Commonwealth Court President Judge Mary Hannah Leavitt wrote in her opinion that Philadelphia "is the place where he votes, collects mail, pays taxes, stores personal effects and spends occasional nights."

A petition filed March 13 in Commonwealth Court said the address Stack listed on his nominating petition was inaccurate. Stack and his wife sold their Philadelphia house in 2016 after moving into the lieutenant governor's mansion in Lebanon County. Since then, he has claimed his mother's house in Northeast Philadelphia was his residence.

According to philly.com, Stack claims that he has renewed his driver's license using his mother's address and paid the city's wage tax in 2016 and 2017.

Marty Marks, who is Stack's campaign manager, called the petition "politically motivated" in a Wednesday evening press release, adding that "one of Lt. Governor Stack's primary election opponents sought to deceive Pennsylvania voters through a spurious election challenge, asserting that the Lt. Governor's state address in Lebanon County should be listed as his primary home."

Instead, the release said, "the Commonwealth Court, through a strongly worded 16-page opinion authored by President Judge Hannah Leavitt, rejected that assertion. The court's decision reflected the substantial evidence that Lt. Gov. Stack, who spent his childhood and attended college in Philadelphia and served for 14 years as a state senator from Philadelphia, was truly a Philadelphian."

READ MORE: Reforming the way Pa. elects a lieutenant governor wins Senate approval

Marks: "With this attack behind him, Lt. Governor Stack said that he now 'looks forward to continuing his discussion with voters throughout the Commonwealth about the progressive policies he has helped to implement' while 'addressing the issues and concerns that truly matter to working class Pennsylvanians.' "

The state's Democratic Party failed to endorse Stack at its winter meeting Feb. 10, indicative of the ongoing friction between Gov. Tom Wolf and Stack. In Pennsylvania, governors and lieutenant governors are nominated independently and then run as a ticket in general election.

Wolf, a businessman from York County, has never really embraced the former state senator who comes from the world of Philadelphia ward politics, PennLive writer Charles Thompson noted in his story after the winter meeting ended.

Besides Stack, the field on the Democratic side includes the following:

Chester County Commissioner Kathi Cozzone;

Former Philadelphia Deputy Mayor Nina Ahmad

Braddock Mayor John Fetterman; and

Ray Sosa, 51, a banker/insurance broker from Montgomery County.

The primary is May 15.

*This post has been updated to correct the candidates still in the race for the Democratic nomination for lieutenant governor.