SAN FRANCISCO -- The two remaining inmates who had escaped the Orange County Central Men's Jail on Jan. 22 were taken into custody in San Francisco, according to the Orange County Sheriff's Department.
WATCH: Orange County Sheriff's Department discusses arrests of remaining inmates
Hossein Nayeri, 37, and Jonathan Tieu, 20, were arrested by the San Francisco Police Department shortly before 9 a.m. near Golden Gate Park.
Bac Duong, 43, was the third inmate who had escaped with Nayeri and Tieu from the jail. He surrendered to the Orange County Sheriff's Department Friday afternoon after flagging down a citizen in Santa Ana.
Authorities believed Nayeri and Tieu were in the San Jose area and were heading to Fresno because of a family connection Nayeri had.
On Jan. 22, the trio fled the jail in an elaborate escape plan that involved cutting through steel bars and plumbing tunnels and then rappelling down the building from the jail's roof. They had been accounted for around 5 a.m. that day and it wasn't until 16 hours later that authorities noticed their disappearance.
Capt. Jeff Hallock said during a press conference earlier in the week that Duong stole a van sold by a private owner the day after the escape. Investigators believed the three men were living in the van and using it to travel through the state.
On Thursday, authorities arrested Nooshafarin Ravaghi, a 44-year-old English as a Second Language teacher who had taught at the jail since July 2015. She developed a close relationship with Nayeri and the sheriff's department said she provided key materials that aided in the escape.
She faces charges of being an accessory to a felony and is ineligible for bail. Ravaghi is scheduled to be arraigned in court on Monday.
The three men faced a slew of charges all involving violent crimes. Nayeri, who authorities referred to as the fictional cannibal killer Hannibal Lecter, faced charges for kidnapping, torture and severing a man's penis. Tieu faced charges for murder and Duong for attempted murder.