The actual power of the prime minister has considerably varied over time, differing based on who holds the office. In 2004, a power struggle between the then–head of state, Senior General Than Shwe, chairman of the State Peace and Development Council, and his President, General Khin Nyunt, resulted in the prime minister being dismissed and arrested.