The station was originally granted its construction permit on July 23, 1996;[2] on September 16, it was assigned the call letters KAQR.[3] On October 1, 1997, the station changed its call letters to KBCC; on March 27, 1998, channel 10 took on the KMTF call sign.[3] On August 15, 1998, the station started broadcasting as the local Fox affiliate; KMTF also had a secondary affiliation with UPN.[4] On July 1, 2001, due to low ratings and revenue, the station dropped the Fox affiliation and became an affiliate of Pax TV; area cable systems quickly added Foxnet to their lineups to continue carrying Fox programming.[5] After KMTF's affiliation agreement with Pax TV expired in July 2005, the station switched to The WB;[6] the switch made Helena the eighth market in which The WB 100+ Station Group (a predominantly cable-only service that brought WB programming to smaller markets) was seen on an over-the-air station.[7] In September 2006, KMTF became the affiliate for The CW and become part of The CW Plus, the successor of The WB 100+ Station Group.[8]
For most of its time as a commercial station, KMTF was owned by Rocky Mountain Broadcasting Company, which was 51% owned by Uhlmann/Latshaw Broadcasting[9] (itself jointly owned by The Uhlmann Company and Latshaw Enterprises[10] until early 2014, when Uhlmann bought Latshaw's stake[11]) and 49% owned by Meridian Communications;[12] a $60,000 purchase of Uhlmann/Latshaw's stake by Meridian, proposed in 2006,[12] was dismissed by the Federal Communications Commission (FCC) on November 4, 2014.[13] From October 13, 1999, until August 15, 2005, Sunbelt Communications Company (now known as Intermountain West Communications Company), owner of NBC affiliate KTVH (channel 12), programmed KMTF under a time brokerage agreement;[14][15] the agreement had been assigned to Sunbelt by Meridian, who had operated KMTF since its 1998 launch.[14] Concurrent with the termination of the time brokerage agreement, Sunbelt entered into a joint sales agreement with Rocky Mountain, supplemented on August 30 with a shared services agreement.[14] Through Meridian, KMTF's ownership included the daughter of IWCC's owner and founder.[14] The arrangement was set up in such a way so as to circumvent FCC rules regarding ownership of competing stations by the same entity. However, as the original time brokerage agreement was made after November 5, 1996, it was not grandfathered after the FCC began to consider such agreements in excess of 15% to be attributable, and was thus required to be unwound by August 6, 2001; on October 9, 2014, IWCC agreed to contribute $40,000 to the United States Treasury to settle the FCC's investigation into the time brokerage agreement.[15]
On May 7, 2014, Intermountain West Communications Company announced that it would sell KTVH-DT to Gray Television. As part of the deal, Gray concurrently acquired KMTF outright through a failing station waiver.[16] The sale was completed on December 1.[17]
On July 1, 2015, Gray announced that it would sell KTVH to Cordillera Communications, which owns CBS affiliate KXLH-LD (channel 9). KMTF was concurrently donated to Montana State University for integration into the Montana PBS system.[18] The following day, KMTF dropped its CW affiliation and went dark;[19] CW programming now airs on a subchannel of KTVH.[18] Montana State University changed the station's call letters to KUHM-TV on September 1, 2015, after the donation was completed.[20] KUHM-TV provides more-reliable reception in areas around Helena unable to receive K49EH-D channel 49, which provided Montana PBS programming to Helena before KMTF's conversion to KUHM-TV.