Both directions of Interstate 5 in Encinitas are open Friday morning after a crash on the northbound side of the freeway.

The California Highway Patrol reported that a truck crashed into a pedestrian on the northbound side Thursday night, and the freeway had to be shut down as a Mercy Air helicopter landed to take the victim to a hospital.

There is no word on what the person was doing on the freeway.