RACINE, Wis. — A person who shot and wounded a federal agent in Racine Wednesday has apparently taken his own life, according to the U.S. Marshals Service.

The agency was leading a task force which was attempted to serve a warrant when an individual opened fire and one officer was struck, federal officials said.

The officer sustained non-life threatening injuries, the Marshals Service said. The agent is currently in stable condition, police said. 

“Members of the task force did not fire, but the subject apparently took his own life,” according to a statement from the federal agency.

Racine police say the federal agent was participating in a “multi-jurisdictional” operation in the city's south side.

FBI spokesman Leonard Peace in Milwaukee says his agency is currently in Racine investigating a shooting incident involving a federal officer.

Authorities earlier advised residents living nearby to remain in their homes until the situation is resolved.

The RPD will continue to share updates on Facebook.

An emergency alert was sent to residents Wednesday morning. The Kenosha County Sheriff's Office reported some county residents received the alert and insisted there is no danger to the Kenosha County community.

No other details were released. This is a developing story and more information will be reported as it comes in.

The Associated Press contributed to this report.