As a young man, Lorca traveled through Europe and visited many places where ancient poems were written. This experience inspired him to write his own poems. Lorca's father was a doctor who worked in Barcelona. When Lorca was only eight years old, they moved to Malaga, where his father continued to work as a physician.