Kaunda won kudos abroad for what was considered to be his gracious response to electoral defeat, but the new government was less magnanimous. It placed him under house arrest after alleging a coup attempt; then declared him stateless when he planned to run in the 1996 election (on the grounds that his father was born in Malawi), which he successfully challenged in court. He survived an assassination attempt in 1997, getting grazed by a bullet. One of his sons, Wezi, was shot dead outside their home in 1999.