The new president of NFU Scotland is Borders farmer and vet Nigel Miller, a former vice-president and chairman of the union’s livestock committee.
Two Fife farmers, Allan Bowie and John Picken, were elected as vice-presidents.
Mr Miller said his immediate priorities were the milk and pigmeat sectors.
He added: “I recognise the huge challenge and the crucial period that the Scottish industry is entering. For many of our producers, the shadow of a dysfunctional market hangs over many of them and much of the assistance we need as a sector is under threat as budgets are being stripped back.
“The key funding source for Scottish farming remains the Common Agricultural Policy and the debate around reform at a European level is building momentum. I firmly believe the union has a pivotal role in moving us into a new and better era post-CAP reform in 2013. To have won the support of members to lead NFUS is a privilege and I now plan to give my energy to that whole process.”