Jurors found Tywain Robinson guilty of murder and attempted murder.
He admitted on the stand to opening fire through the door and wall of his apartment back in May of 2021.
RELATED: Suspect takes the stand in his own Fresno murder trial
But Robinson claimed it was self-defense because he saw two men coming to confront him and he believed one of them was armed.
The shooting killed 24-year-old Isaac Jackson, who was the uncle of Robinson's girlfriend.
The second man was not hurt.
Robinson will be sentenced next month and faces up to life in prison.