Border Patrol agents say they recently captured five people in northern Maine after they crossed the border illegally.