An attorney, former Cass County prosecutor and former state senator representing a region near Kansas City, Koster, 52, was a Republican until switching parties in 2007, prior to winning his first term as attorney general.