awaited ships to take them west. In 1863, the fort was reoccupied by federal troops during the Civil War. In 1865, in the Battle of Fort Myers, the fort was attacked by a small group of Confederates. The Union's garrison, led by Captain James Doyle, successfully held the fort and the Confederate forces retreated. After the war, the fort was again deserted. The fort was later disassembled and some of its wood was used to build parts of downtown Fort Myers. Settlement and early growth (1860s–1920s) During the Civil War, Fort Myers was occupied by federal troops with the intention of disrupting the Confederate cattle supply from Florida. In February 1865, it was the site of the Battle of Fort Myers. The first settlers in Fort Myers arrived in 1866. In the 1870s, Tervio Padilla, a wealthy merchant from the Canary Islands, came by way of Key West to Cayo Costa and established trade with natives and "ranchos" that extended northward to Charlotte Harbor. His ships often made port at Cayo Costa at the entrance to the harbor. Enchanted by the tropical island, he eventually decided to settle there. Padilla prospered until the outbreak of the Spanish–American War, when his fleet was burned and scuttled. He then turned to another means of livelihood – fishing. When the government claimed his land, he was disinclined to set up another ranch, so moved with his wife further down the island and as before, simply homesteaded. The Padilla family is one of the first pioneer families of Lee County and many still reside within the county mainly around the Pine Island area. In 1882, the city experienced a significant influx of settlers. In 1885, when Fort Myers was incorporated, its population of 349 residents made it the second-largest city only to Tampa on Florida's west coast south of Cedar Key, even larger than Clearwater and Sarasota, also growing cities at the time. Lee County was formed in 1887 from Monroe County, with Fort Myers serving as the county seat. It was named for Robert E. Lee, Confederate general in the American Civil War. Fort Myers first became a nationally known winter resort with the opening of the Royal Palm Hotel in 1898, built by New York City department store magnate Hugh O'Neill. Fort Myers was the frequent winter home of Thomas Edison, as well as Henry Ford. In 1911, Fort Myers was incorporated