The Helena Capital boys basketball team won four of its final five games to qualify for the Class AA state tournament.