The city was founded by Danish navigator Vitus Bering in the service of the Russian Navy. Bering reached Avacha Bay in late 1740 and laid the foundation stone for the harbor town, naming the new settlement "Petropavlovsk" (Peter and Paul) after his two ships, the St. Peter and the St. Paul, built in Okhotsk for his second expedition. The town's location on the sheltered Avacha Bay and at the mouth of the Avacha River saw it develop to become the most important settlement in Kamchatka. It was granted town status on April 9, 1812.
During the 1854�1855 Crimean War, the city was put under siege by the Anglo-French forces, but never fell. The city had been fortified under the command of Nikolay Muravyov-Amursky in the years prior, but only possessed a small garrison of a few hundred soldiers and sixty-seven cannons. After much exchange of fire, 600 allied troops landed south of the city, but were forced to retreat by only 230 Russian troops after heavy fighting. One week later, 900 allied troops landed east of the town, but were again repelled by the Russians. The allied ships then retreated from Russian waters. The total Russian losses were reported at around 100 men; those of the allies at least five times that number.[citation needed]
Petropavlovsk was a great source of fish, particularly salmon, and crab meat for the Soviet Union in the 20th century. Since the end of the Soviet era, fishing rights have also been granted to foreign interests