Police investigated and identified Gorham-Ramos through fingerprints, court records show.
Nearly six months later, officers arrived at Leto's home after someone reported a suspicious death. A statement of probable cause filed in court shows they found her in her living room with multiple stab wounds to her chest and back. The rear first-floor kitchen window was unlocked and open.
Detectives believe the teens came in the backyard and brought a lawn chair up to the kitchen window. Another resident at the home told police that a black iPad and other belongings were also missing.
A bloody Adidas shoeprint had been left behind.
After learning of the earlier burglary, detectives brought Gorham-Ramos and his mother to police headquarters for an interview. There, police said, a detective noticed he was wearing Adidas tennis shoes that matched the shoeprints found at the crime scene.
Police said Gorham-Ramos confessed that he and Pinkney had been burglarizing Leto's home when she woke up. Gorham-Ramos said he and Pinkney stabbed her multiple times, court records show.
On Monday patrons and friends expressed their condolences and anger on a Facebook page for O'Donnell's Pub in Canton, where Leto worked as a bartender. "How can humans do this?" one man wrote.
The pub posted two photos of Leto, including one in which she is shown behind the bar with both arms raised in jubilation.
"She was just a positive soul," said Tanja Booth, a bartender at O'Donnell's, which is not far from where Leto was killed. "She just lit up the room. She was just one of those people who was always funny and happy. She just made everybody happy."
Leto worked occasionally at the pub but was considered part of O'Donnell's "family," Booth said.
Residents in Southeast Baltimore have been unnerved by the notion that a resident would be killed by apparent strangers in the security of her home overlooking Patterson Park.
City Councilman James B. Kraft, who represents the area, has said he is increasingly frustrated that the city has not heeded his calls for more officers on foot patrol.
Mike Beczkowski, who leads neighborhood crime awareness walks in Canton, said he doesn't understand why the mayor's office or police haven't responded to Kraft's requests.
He said neighborhoods in Southeast Baltimore are "the wealthiest in the city" and "prone to more criminal attacks like this."
"Despite repeated requests, the mayor says we can't have them and has sent them elsewhere," Beczkowski said. "We plan on flooding her office with calls and emails until we do."
He has advised residents to take their own safety precautions. "Our advice is for everyone to get a burglary system to help prevent break-ins," Beczkowski said. "Our safety requires ongoing vigilance."
Kevin Harris, spokesman for Mayor Stephanie Rawlings-Blake, said the mayor has shown in the past that she will deploy additional officers to neighborhoods when residents ask for help. He did not say whether she would do so in this case.
"Where we can meet those needs we certainly work hard to do so, because as she has said, public safety is her top priority and we have to have an all-hands-on-deck mentality," Harris said.
Baltimore Sun reporters Justin Fenton and Erica L. Green contributed to this article.