Turkish police have shot and killed a suspected suicide bomber as he ran towards Prime Minister Recep Tayyip Erdogan's office, police said. The shooting occurred about 10 a.m. (0700 GMT) Friday outside the Ministry of Justice in Ankara. The man apparently tried to get into the Ministry of Justice building using a staff entrance, but a device believed to be a bomb on his body was detected by a machine, the ministry confirmed. He then apparently panicked and pulled the bomb's fuse, but it did not detonate. Authorities seized and handcuffed him, but he managed to escape and began running toward the prime minister's office. A guard at that office shot him, according to the ministry. Witnesses said the man was about 35 years old. An identity card was found on his body, but was later determined to be fake. Police identified the dead man as Eyup Beyaz and said he was a member of the Revolutionary People's Liberation Party-Front, or DHKP-C, an outlawed leftist group that aims to topple the government and replace it with a Marxist one, the Associated Press reported. The group has been responsible for several bombings in the past, AP said.