The suspect was taken into custody without further incident just before 11 p.m., according to Officer Bradley White of the Whittier Police Department.
The parolee's name was not immediately released. Evacuated residents could not re-enter their homes until 1 a.m. Saturday
The incident began at about 12:15 p.m. in the 6000 block of Washington Avenue. U.S. marshals, assisted by Whittier police, had a parolee under surveillance, wanted in connection with a carjacking.
Authorities approached the residence to make an arrest when at some point, the suspect exited the residence and fired five to six shots at the officers, who were at the rear of the property.
The suspect then barricaded himself in an attached garage for hours.
No one was injured. Several other people were in the residence at the time, and they ran outside. It was unclear what their relationship was to the suspect.
Neighbors were evacuated, and some streets were closed.
The City News Service contributed to this report.