San Francisco 49ers cornerback Chris Culliver apologized Thursday for anti-gay comments he made to comedian Artie Lange during Super Bowl media day, saying “that’s not what I feel in my heart.”

“I’m sorry if I offended anyone. They were very ugly comments,” Culliver said during an hour-long media session. “Hopefully I learn and grow from this experience and this situation.”

He said he would welcome a gay teammate to the 49ers, a reversal of his remarks to Lange two days earlier during an interview at the Superdome.

“I treat everyone equal,” Culliver said. “That’s not how I feel.”

He added that he realized his comments were especially offensive to many people in San Francisco and the Bay Area, which is home to a large gay community.

“I love San Francisco,” Culliver said.

During the interview with Lange, Culliver responded to questions by saying he wouldn’t welcome a gay player in the locker room. He also said the 49ers didn’t have any gay players, and if they did those players should leave.