fanning had been appointed postmaster for the colony , a lucrative position that had likely cost him a pretty penny to acquire , and had cost him still more dearly when he had been obliged to resign it under force .