An official says Uganda is cutting military ties with North Korea to comply with U.N. sanctions over North Korea's nuclear program.

Col. Shaban Bantariza, a spokesman for the Ugandan government, said Monday that Uganda is simply "disengaging from military co-operation" and not cutting diplomatic ties with the North Koreans.

The policy shift comes as the South Korean President Park Geun-hye is visiting Uganda. She was hosted to a banquet Sunday by Ugandan President Yoweri Museveni. At the event Sunday, Uganda and South Korea signed 10 cooperation agreements in areas such as defense, health and education. It appears Museveni assured the South Korean delegation he would sever security ties with North Korea.

North Korea has been training the Ugandan security forces in physical fitness, marine warfare and weapons handling.