rawlings , a military leader who had forcefully taken over the reigns of government in the late seventies , surprised everyone by handing over peacefully to the national patriotic party when his party , with a new leader , lost the election .