OREGON, Portland (AP)- A federal judge says Nevada rancher Cliven Bundy should stay behind bars because he's a danger to the community and a risk for failing to show up for future court dates.

U.S. Magistrate Judge Janice Stewart ruled Tuesday that Bundy shouldn't be released ahead of trial because "that is likely the last the government will see of him." Bundy's charges stem from an armed 2014 standoff with federal officials trying to round up cattle grazing illegally near his ranch northeast of Las Vegas. Attorney Noel Grefenson says his 69-year-old client couldn't be such a danger if authorities waited to charge him for 22 months.

Stewart dismissed that argument and set his next hearing for Friday. Bundy was arrested last week when he arrived in Oregon to support his sons, who are accused of leading a weekslong occupation at a national wildlife refuge.