A man with an extensive criminal history was taken into custody this week in Indian River County after a standoff that lasted several hours, deputies said.