DUNEDIN, Fla. (WFLA) — Dunedin is often known for its beaches and charming downtown area, but did you know the city was incorporated because of a pig problem?

One of the Dunedin History Museum‘s exhibits describes how an abundance of hogs in town led to guidelines and ordinances being put in place.

“You will find a lot of amazing tidbits about the history of Dunedin, interesting facts,” Dunedin History Museum Executive Director Ghazala Salam said.

The museum is housed inside an old train depot, which will celebrate its 100th anniversary this year.

Visitors can also expect original artifacts highlighting the city’s importance of the railroad and citrus industries.

“We’ve got all the records from when people were coming on, tickets, the actual register of the station manager,” Salam said.

Other museum history highlights include local sports, hotels and an exhibit about Honeymoon Island.

The museum is open Tuesday through Saturday from 11 a.m. to 5 p.m. and Sunday from noon to 4 p.m.

“It connects us to the community.” Dunedin is a very close-knit community,” Salam “There’s a lot of community pride here.”

Museum admission is $7 for adults and $5 for children and seniors.

To learn more about this unique aspect of the town’s history, visit the Dunedin History Museum.