 Haughey succeeded in becoming party leader, albeit by a narrow margin of just six votes, and was later elected Taoiseach by the Dáil.MacSharry's loyalty was subsequently rewarded when he was appointed Minister for Agriculture in the new government.Agriculture was viewed as a key portfolio in Haughey's new cabinet and MacSharry was regarded as an effective Minister at a time when farm prices were falling.