A white Texas police officer shot and killed a black woman inside her bedroom Saturday, police said.

The cop was responding to a call for an “open structure” in Forth Worth at about 2:30 a.m. when he saw someone inside the home, standing near a window, CBS reported.

The officer, who was in the backyard, felt threatened and pulled out his gun, the Fort Worth Police Department said in a statement.

“Put your hands up. Show me your hands!” the officer can be heard yelling in bodycam footage before firing through the window, WFAA reported.

The resident — later identified as Atatiana Jefferson, 28 — was killed in the 3-second gunfire and pronounced dead at the scene.

A concerned neighbor had called the police after growing worried that the door was open and lights were on, the Dallas Morning News reported.

The officer involved in the shooting, who has been on the force since 2018, was placed on administrative leave during the ongoing investigation, the paper said.