Answer
Gyanendra became king for the second time during the 2001 Nepalese royal massacre, in which Then king Birendra and several other members of the royal family were killed. Gyanendra had previously been king from 1972 to 2001, when he was forced to abdicate after a popular uprising. After the massacre, he was again installed as king, and ruled until 2008, when Nepal became a republic.