The rebellion took six months to suppress, with heavy loss of life on both sides