The same year former Prime Minister of Afghanistan Mohammad Hashim Maiwandwal was accused of plotting a coup though it is unclear if the plan was actually targeting the new republican government or the by then abolished monarchy .