Answer
Yes, Peter O'Neill held several ministerial portfolios prior to becoming Prime Minister of Papua New Guinea. He served as the Minister for Works and Implementation from 2002 to 2004, and subsequently as the Minister for Mining from 2004 to 2006. He also held the position of Minister for Finance and Treasury from 2006 to 2010.