A Wichita man was sentenced to 126 months in prison for after selling illegal drugs and explosive devices to an undercover federal agent.