A man accused of masturbating on a woman's deck and then stealing her dog before he was shot after breaking into a second apartment has been officially charged.

Angel Suarez Medero was arraigned Tuesday on burglary, assault and other related charges. His bail was set at 10% of $250,000.

Medero is accused of climbing onto the balcony of a second-floor apartment in Franklin Commons on the 1000 block of Bobolink Drive in Bensalem, Pennsylvania back on Dec. 28 around 8:40 p.m., police said.

"I was sitting on the couch," said a woman who was inside the apartment at the time. "My dogs started freaking out. They went up to the door and I looked up and I could see from my living room that there was a man on my deck."

The woman told NBC10 Suarez Medero — who was identified by various reports as a former jockey who rode at nearby Parx — then motioned for her to be quiet as her dogs continued to bark.

"He laid down on the floor, stood back up and then he started masturbating on my deck," she said. "I stood there for like ten seconds and I tried to get them [[my dogs]] to come with me but they wouldn't. Then I got out of there."

The woman ran to her neighbor's home as Suarez Medero broke through the sliding-glass door and entered the apartment, said investigators. He then allegedly took one of the woman's dogs and jumped out a second-floor window.

He then broke into another apartment on the first floor and attacked two residents inside, according to investigators.

A struggle ensued and a resident inside the apartment pulled out a gun and opened fire, striking the suspect twice, police said.

Even after being shot, Suarez Medero continued to fight with the resident, said police. Responding police officers were eventually able to subdue him.

Medics rushed Suarez Medero to Aria-Torresdale Hospital where he underwent surgery. No one else inside the apartment complex was seriously injured during the incident, according to officials.

Police said it didn't appear that the man knew the woman whose apartment he broke into and the woman told NBC10 she didn't recognize him. The resident who opened fire on Suarez Medero has not been charged.

The woman also told NBC10 her dog ran away during the ordeal.

The dog, named Ollie, is a 4-year-old, penny-colored long-haired dachshund and weighs approximately 17 pounds. While Ollie was spotted a few times since his disappearance, the dog is still missing.

"I'm just scared that he's somewhere hurt," she said. "He didn't have a collar on him because it chokes him when we go out."

On Tuesday, the woman told NBC10 Clear Channel donated money to put up digital billboards of the dog. The billboards were placed in five different locations on Route 1 and I-95.

(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));

If you have any information on Ollie's whereabouts, please call Nicole at 215-900-6665 or Evan at 845-461-9617. You can also visit the Ollie the Missing Dachshund Facebook page.