Some 20,000 people were left homeless by an earthquake which hit Tajikistan's mountainous GornoBadakhshan province, an official said.

The earthquake measuring 5.1 on the Richter scale took place on Saturday and affected two locations in the province's Vanchsky district in Tajikistan's Pamir Mountains, a spokesman of the local administration said.