# When the people
Here "people" refers to the disciples in Ephesus who were talking with Paul.
# they were baptized
"they received baptism"
# in the name of the Lord Jesus
"as believers in the Lord Jesus"