Mr O'Neill and his former Deputy Belden Namah, with the support over 70 MPs passed certain laws which kept them in power until the polls in June last year.
Mr O'Neill is now Prime Minister and Belden Namah, the Opposition Leader
Firmin Nanol reports:
Presenter: Firmin Nanol
Speaker:Prime Minister Peter O'Neill, Sir Micheal Someare, Attorney General and Justice Minister, Kerenga Kua
One such controversial law was the Prime Minister and National Executive Council or PM and NEC Act 2011 which put an age limit on a Prime Minister.
The law back then stated, that any MP over seventy years is not eligible to either run for the office or become the Prime Minister of the country.
It was intended to stop the then Prime Minister Sir Michael Somare, who at over 70 years was still holding office despite undergoing surgery for heart conditions.
The other bad law was the Judicial Conduct Act of 2012, which was enacted to ensure judges hearing cases related to Mr O'Neill and Namah's government and if they were perceived to be in a conflict of interest were deemed to disqualify themselves automatically from the bench.
Prime Minister Peter O'Neill after his People's National Congress party's 2012 election victory and his election as PM, said to reconcile with Sir Michael and promised to repeal those legislations.
Mr O'Neill told parliament this week, that PM and NEC Act was enacted by his government to suit their time and interest but now it has to be repealed.
Over 80 Mps voted to repeal that law.
Former Prime Minister and now Governor of East Sepik province, Sir Michael Somare said that law was designed to remove him from office, but such laws and actions must not be repeated again in the future.
He told parliament any one like him can become a Prime Minister, which draw applause from the parliament chambers and gallery.
PNG's Attorney General and Justice Minister, Kerenga Kua also introduced another amendmended law to repeal a Judicial Conduct Act of 2012.
It also called for the resignation of judges perceived to be biased and having a conflict of interest in matters or cases before them.
The government led by Prime Minister Peter O'Neill and his Deputy and now Opposition Leader, Belden Namah wanted the Chief Justice Sir Salamo Injia and another judge, Nicholas Kiriwom to resign.
Sir Salamo and Justices Kiriwom were part of a seven member Supreme Court bench who ruled Mr O'Neill's elevation in August 2011, was unconstitutional and restored Sir Michael.
More than eighty MPs, both from the government and Opposition voted to repeal the Judicial Conduct Act.
Attorney General Kerenga Kua told parliament the Judiciary's integrity and independence is now fully restored to its original status and intent.
Prime Minister Peter O'Neill and his Justice Minister Kerenga Kua told parliament, the laws have to be repealed and its original status of the Acts need to be restored so that it brings back accountability and credibility to the three arms of government, executive, legislature and the judiciary.
This means any MP over the 70 age limite can now run for or become a Prime Minister and judges of the National and Supreme Courts can not be sacked and or asked to resign by the government over conflict of interest in matters before them.