RAWLINS, Wyo. (AP) — The Wyoming Supreme Court has denied the appeal of a Rawlins man sentenced to life in prison for attempted murder.

Twenty-five-year-old Timothy Kramer was convicted of shooting Steven Devore in 2009. They had a fight and Kramer went home to get his pistol before returning to Devore's house.

The Associated Press reported that Kramer and his lawyer told the Supreme Court that he wasn't adequately represented. They said the Kramer could have been found guilty of a lesser, heat-of-passion offense if his trial lawyer had argued that the events happened closer together.

The Supreme Court said that during the trial an expert and a witness couldn't account for how long it would have taken for Kramer to go to his house and then back to Devore.