SANFORD, Fla. -

A man who was shot dead inside a gated community in Sanford had an encounter with a neighborhood watch member, police said on Wednesday.

Trayvon Martin was shot and killed Sunday night at The Retreat at Twin Lakes Townhomes, Sanford police said.

According to police, George Zimmerman was serving as a neighborhood watch member when he and Martin had an encounter that resulted in the shooting death of Martin.

Zimmerman was taken into custody and continues to cooperate with investigators, police said.  He has not been arrested.

Martin was in Central Florida visiting friends of his family for the week.

Police said an investigation is ongoing.

Watch Local 6 News for more on this story.