Man arrested for attempted murder