Suspected militants have attacked a luxury hotel complex in Nairobi, killing a number of people, BBC reported.

Gunfire and blasts were heard at the compound in the Westlands district of the Kenyan capital, which houses the DusitD2 hotel as well as offices.

The Somalia-based militant group al-Shabab said it was behind the attack.

People, some covered in blood, were led out of the complex by police. Late on Tuesday the government said all buildings had been secured.

The attack began at about 15:00 local time (12:00 GMT). The gunmen threw bombs at vehicles in the car park before entering the lobby, where one blew himself up, Kenyan police chief Joseph Boinnet told reporters.