Transcript for Yonkers Basketball Coach Reveals to Players He's Gay

Speaking of ending well, however, a high school basketball coach inspired by nba center jason collins. This is a story I was looking forward to bring you. He was the first openly gay athlete in major american sports. He turned his struggling team into playoff contenders. But his biggest battle was being true to himself. 35-year-old anthony has been coaching boys' basketball for 16 years. Virtually his entire adult life. When he arrived at saunders high in yonkers, new york, he found a team lost, struggling to find themselves. Now, the kids are playoff cob te contenders. We really look up to him. He keeps them in line. Reporter: And the biggest obstacle for coach was not keeping his team in line. Or taking that team to the postseason. That was my demon. You know what? I'm supposed to be in this guy that's always honest. And I'm not 100% honest. Reporter: Nicodemo had been keeping a secret for years. He's gay. He needed to be honest with his team and himself. The one person you can't con is yourself. The story's going to come out tomorrow about me being a gay high school basketball coach. Reporter: Gay coaches are rare. And rarer still at the high school level. But the kids gave him their support. We started talking. They started applauding him. And do any players want to speak. I was the first to jump up and start speaking for him. Reporter: And the school is standing by their coach, as well. I think it is a learning experience. And I think our students are more accepting. They understand. Reporter: A leader for his team. And an example for his community. I think it's important to break the stereotype. This generation is something else. Just what he said at the end.

This transcript has been automatically generated and may not be 100% accurate.