The King sent the cunning goldsmith to prison, and rewarded the Brahmin with a bag full of gold coins.
Moral:- As you sow - so you reap.