The result came after a recount of the votes that took another five hours, subsequently ending 13 hours after the polls closed at 6pm.
A government statement said the initial count of the votes came to a very close result between Mr Scotty and Pyon Deiye with one-16th of a per cent difference between them.
Under the new amendment act, the Returning Officer for the elections, in this case the Electoral Commissioner Joseph Cain can initiate a recount to ensure accuracy.