Original: The city is served by Juan Santamaría International Airport, 23 km west of downtown, in the city of Alajuela.
Simplified: Juan Santamaría International Airport is located 23 km west of downtown, in the city of Alajuela.