He participated in the May Coup as his role in the plot was to open an entrance to the palace as it was protected by the battalion of the Seventh Infantry Regiment commanded by Anđelković, already known by the nickname Kajafas.
[2] He earned the nickname Kajafas as despite being a very young officer, he drove order and discipline down to the smallest detail by torturing others, but not even sparing himself.
[3] He was able to go deep into the rear of the enemy, liberating Sjenica, Prijepolje and Pljevlja in a rapid pace while being far from the main Serbian forces and acting completely independently.
The Supreme Command with the absence of its chief, Duke Radomir Putnik, decided to leave the fate of Belgrade to Andjelković.
Due to one failure in the 1915 Serbian campaign which resulted in heavy losses, he was accused of incompetence and despite lacking correct information about the numerical state of the Bulgarian forces, he would retired on 20 July 1917.
The former military teacher of princes Đorđe and Aleksandar would have both of them address him as Bata Mika out of respect in 1925. it was even on the front pages of the capital's newspapers.
[2] In addition, according to newspapers at the time, Anđelković was also accused of "communist propaganda" which seriously undermined the honor and reputation of the retired colonel among the world.
[2] A few years after the liberation and just after the aforementioned newspaper raid, King Aleksandar sent his court marshal to the retired colonel with a message that he would like to stop by his place when he was passing through Smiljanićeva Street, where Kajafas lived.