The Upper East Side’s infamous spitter has been busted for hocking a loogie on a child.

Hilda Barrion – who is known as “The Spitting Lady of 77th Street” – and her nephew were both arrested Thursday morning, law enforcement sources told The Post.

The homeless mother, 66, and nephew, 44, from Argentina were picked up on E. 78th Street between 1st and 2nd avenues just before 7 a.m., sources said.

Barrion, whom residents call “Susan,” was charged with stalking and endangering the welfare of a child after she allegedly spit on a 7-year-old, according to sources.

Her nephew, Gabriel Uno, was charged with menacing, reckless endangerment and criminal possession of a weapon for throwing a table at someone on E. 81st on March 18, sources said.

Uno swung his fists and shouted “get out of here,” during the incident, according to sources.

Barrion has been dousing locals with her saliva for years, according to fed up residents.

She’s become such a nuisance to the community that an online petition was started demanding Mayor Bill de Blasio and local councilmen Ben Kallos and Daniel Garodnick take action.

“For years there has been a woman who has been wandering the streets of the upper east side who screams, yells and spits on people,” the petition reads.

“Pedestrians see her on a daily basis, and despite numerous calls to police, the public was told to turn a blind eye. This woman is not only a nuisance, but she is a threat as she is assaulting people vilely with saliva. She mainly spits on children, while also hissing and yelling at them,” the petition continues.

According to the petition, the woman’s nephew recently joined his mother in harassing residents.

“He is a tall man, who also yells at pedestrians, and serves as her bodyguard,” says the petition, which has been signed by more than 1,470 people.

Uno’s priors include an arrest in 2014 for grand larceny and an arrest in 2015 for criminal possession of stolen property, assault, stalking, menacing, unlawful imprisonment and obstruction of breathing, sources said.

The two said nothing while being perp-walked out of the 19th Precinct. A cop covered Barrion’s face as she led the woman into a police van.

Residents rejoiced after they heard the news that their neighborhood spitter had been nabbed.

“She deserves it,” said Margie Kaiser, a manicurist at Dea Salon on E. 78th Street. “She spits on everybody. She doesn’t have good aim but she spits.”

Kaiser added, “She needs help. I feel sorry for her.”

Witnesses said that when cops arrested Barrion Thursday morning, she said, “What are you doing?”

Hours after her arrest, two of Barrion’s junk-filled shopping carts were still on E. 78th Street.

“She causes a disturbance. She spits and screams at most people,” said 20-year-old Lei Takanashi, who lives in an apartment right above where the arrest took place.

“She has always had a problem with my mom. She always spits and screams at her. It makes my mom feel unsafe,” Takanashi said. “My mom is relieved [by the arrest]. She is definitely happy about it.”

Additional reporting by Tina Moore