Commercially viable phosphate deposits were exhausted at the time of independence from the UK in 1979 .