Phetchaburi (Thai: เพชรบุรี, pronounced [pʰét.t͡ɕʰā.bū.rīː]) or Phet Buri (pronounced [pʰét bū.rīː]) is a town (thesaban mueang) in southern Thailand, capital of Phetchaburi Province. In Thai, Phetchaburi means "city of diamonds" (buri meaning "city" in Sanskrit). It is approximately 160 km south of Bangkok, at the northern end of the Thai peninsula. As of 2005, the town had a population of 26,181 and covers the two tambon Tha Rap and Khlong Krachaeng.The Phetchaburi River runs through the middle of the city. The region is mostly flat, save for a single hill (called Khao Wang) on the outskirts of town. The royal palace named Phra Nakhon Khiri and one of the many wats are on top of Khao Wang. The hill and town is the site of an annual festival, called the Phra Nakhon Khiri Fair.