in spain he started his studies and he started his literary career