Kortney Moore, 18, of Rogue River, told the Roseburg News-Review newspaper  she was in a writing class at Umpqua Community College in Roseburg on Thursday when a shot came through a window.

The gunman entered her classroom and told people to get on the ground.

>> Chris Harper Mercer: The first details emerge online

Moore said the man started asking people to stand up and state their religion and then opened fire.

The shooting left at least 10 people dead and at least 20 injured at a community college in southern Oregon, according to Sheriff John Hanlin of Douglas County. The number of deaths include the gunman.

Hanlin said authorities responded and exchanged gunfire with the man. He said the shooter died at the scene, but he didn't say whether the man killed himself or was shot by police.

The Associated Press contributed to this report.