Two detained were out on bail in murder attempt case