Clue: Switching sides near the end, give new weapons to kingdom (5)
Answer: REALM
Explanation: Definition: kingdom
REARM ('give new weapons') with the second R ('near the end') changed to L (right to left, 'switching sides').