Wildlife officers on Tuesday captured an alligator that has been swimming in Hope Mills Lake for the past two weeks.