Gunmen from the militant Islamist group al-Shabab have killed at least 15 people and taken students hostage at a university in north-eastern Kenya.
Reports say 65 others were wounded when gunmen stormed a university in Garissa. Troops are engaging the gunmen.
More than 500 students were still unaccounted for, a government minister said.
Al-Shabab, which is linked to al-Qaeda, said it was holding Christians hostage and freeing Muslims.
Hostages from the two groups had been separated, and 15 of the Muslims had already been released, a spokesman for the group told the BBC.
Exchange of fire
Garissa College University student Collins Wetangula said when the gunmen entered his hostel he could hear them opening doors and asking if the people who had hidden inside were Muslims or Christians, Associated Press news agency reports.
"If you were a Christian you were shot on the spot. With each blast of the gun I thought I was going to die," he is quoted as saying.
Wetangula said some security officers then entered through a window and took him and some other students to safety.
About five masked gunmen are said to have stormed the university.
Kenya's Interior Minister Joseph Nkaissery told journalists that one of the militants had been killed as he tried to flee.
Out of 815 students, 535 had not yet been accounted for, he said.
A policeman at the scene told Reuters news agency that some students had been taken hostage.
"We can't tell how many but they are many since the college was in session," the unnamed policeman is quoted as saying.
The Kenyan Red Cross said about 50 students had been "safely freed", but an unknown number were still being held, AFP news agency reports.
Security forces were now trying to flush out the gunmen, a police statement posted on Twitter said.
It urged people to stay away from the area. The statement did not confirm that hostages had been taken.
The gunmen reportedly ordered students to lie down on the floor, but some of them are known to have escaped and are at a military facility.
"It was horrible, there was shooting everywhere," student Augustine Alanga told the BBC's Newsday programme.
He said it was "pathetic" that the university was only guarded by two police officers in such a volatile area.
The university opened in 2011 and is the only place of higher education in the region.
The BBC's Anne Soy in Nairobi says that because of its proximity to Somalia, Garissa is an easy target for al-Shabab militants and there have been several attacks in the past.
She says that the UK and Australia issued alerts this week warning of potential terror attacks in parts of the country, including Garissa.
There has also been a specific alert for universities in the country.
Garissa, 150km (90 miles) from the border with Somalia, has a large population of Kenyan Somalis.
Al-Shabab has carried out a number of attacks in Kenya since 2011, when Kenyan troops were sent to Somalia to help fight the militant group there.
The deadliest attack targeted the Westgate shopping centre in Nairobi in September 2013, when 67 people were killed.
Al-Shabab is fighting to create an Islamic state in Somalia and is banned as a terrorist group by both the US and the UK.