When deputies arrived, a suspect fled and one of the deputies pursued him.
He was taken to an area hospital in critical condition where he later died.
McCartney was married and had three young sons, according to KOMO-TV.
It is with incredible sadness that inform you that our deputy has passed away from his injuries. "We are with his family now, and we ask that you please keep his family, friends and our department in your thoughts and prayers".
Law enforcement recovered one of the suspects' weapons from the scene.
A police spokesman said the police authorities believed there was a gunbattle between McCartney and the home intruders during the fatal encounter.
Washington deputy shot during chase dies from gunshot wounds
Authorities have launched a manhunt for the other suspect and blocked off several roads in the suburb. An active manhunt is under way for his suspected shooter.
Officials say numerous streets are being closed in the area as law enforcement conducts a search for the gunman. The second suspected burglar police are hunting was described as tall and thin with curly dark hair in a ponytail and "pock marks" on the right side of his face. He was wearing a dark hooded sweatshirt and a black beanie.
FREDERICKSON, Wash. - Authorities in Washington say a Pierce County Sheriff's deputy has died from gunshot wounds sustained while responding to a home invasion.
School District cancelled school Monday due to an "abundance of caution", and the police investigation blocking access to the bus facility according to the Bethel School District Facebook Page.
He served with Pierce County for some three years.
'Paladins' (ALL) To Add Battle Royale Mode, Battlegrounds - Trailer
We have to say, a Paladins style battle royale game sounds both intriguing and exciting and we'll definitely be trying it out. Paladins is expected to receive these new features aside from the Battle Royale game mode starting January 10.