Jury convicts man of attempted first-degree murder