Why is Panama City Panamas capital?

Panama City is located in Florida.It is most beautiful and amazing place to visit.There are lot of natural place which you have with family and kids.I love to visit again panama city beach .i had lot of fun in panama city beach in Florida.