A Brooklyn high school won the city football championship with help from a controversial star player. Amanda Farinacci has more on a story you saw first on NY1.

On the field, he's part of a city high school championship winning team. Rahmel Ashby, a senior running back, helped carry his team at the Grand Street Campus High School to a 28-26 victory at Yankee Stadium against Erasmus High School.

"I'm just happy that me and my team won. I'm just happy for us," he said.

However, off the field, the 17-year-old Brooklyn native has a bigger battle ahead of him. He is charged with attempted murder for allegedly firing a gun into a crowd, wounding three people back on April 29, 2014.

Released on $50,000 bail, he was arrested again on October 30 of this year on weapons possession charges. Police say he was carrying a loaded .380 semi-automatic handgun. In that case, he was released on half a million dollars bail.

"I don't have no comment on that," he said.

Department of Education rules require that student athletes have passing grades and 90 percent class attendance, but do not address criminal allegations. Whether Ashby could play was up to his school, and he was allowed to play in Sunday's game. The school has not comment publicly on the case.

"We just focusing on football and that's it," assistant coach Travis Tyler said.

Ashby’s troubles hardly seemed to factor into the game, and for a relatively new football program, his teammates only wanted to focus on their win.

"It's just the point of being in this atmosphere, it's amazing. It's just amazing," said wide receiver Korderl Wray.

Enthusiastic fans filled the stands and even those disappointed by the game’s outcome did not want to comment on the charges against him.

"My business is Erasmus,” said Danny Landbert, head coach at Erasmus. “I'm not no politician, I'm not in charge of anything like that and that's their problem; I worry about Erasmus."

"I've heard about it, but it doesn't really affect me,” Erasmus cheerleader Farida Balogan said. “It's about E-hall, it's about Erasmus; it's not about Grand Street."

Ashby is due back in court in January.