Man arrested in connection to 2 local attacks