RIVERVIEW — A man who tried to rob three other men at a convenience store on Tuesday was killed when one of his intended victims fatally shot him, according to the Hillsborough County Sheriff's Office.

The attempted robbery took place around noon at Ace Beverage Castle at 9401 U.S. 301 S. Joel Alberto Torres, 24, wearing a bandana and carrying a 9 mm handgun, walked up to a man who was standing behind the business and tried to rob him, deputies said. When the man told him he had nothing to give, Torres forced him through a back door into the building.

Inside, Torres tried to rob the business owners, a father and son, while they sat in an office, deputies said. But one of them pulled out a gun and shot Torres several times. Paramedics took Torres to Tampa General Hospital, where he was pronounced dead. The man who shot Torres was not identified by the Sheriff's Office, but he does have a concealed carry permit.

Torres has a criminal record that includes convictions for grand theft and burglary, according to state records. In 2009, he was arrested on a charge of conspiracy to commit murder, but the outcome of that case was not known.

The investigation is continuing. The case will be referred to the Hillsborough County State Attorney's Office to decide whether the shooter should be charged, or acted in self defense.