At the end of 1866 Eiffel managed to borrow enough money to set up his own workshops at 48 Rue Fouquet in Levallois-Perret. His first important commission was for two viaducts for the railway line between Lyon and Bordeaux, and the company also began to undertake work in other countries, including the church of San Marcos in Arica, Peru, which was an all-metal prefabricated building, manufactured in France and shipped to South America in pieces to be assembled on site; first it was intended for the city of Ancon, a beach near Lima, but the Peruvian Government headed by the then President Jose Balta changed the final destination to Arica because the old church was destroyed by an earthquake on August 13, 1868. Because of this, a committee of ladies of Arica asked Balta to relocate Eiffel's structure to Arica.