A federal judge in Portland has sentenced a man to 20 years in prison for the robberies of four banks and two motels in Oregon and Washington.

U.S. District Judge Robert E. Jones determined Wednesday that 57-year-old Andrew Laviguer is a "career offender" and gave him a long prison sentence because of the number of robberies he has committed.

Laviguer robbed banks in Seattle, Tacoma and Portland last summer and also hit motels in Salem and Wilsonville, Ore.

He was arrested Sept. 9 and pleaded guilty two months later.

Earlier in life, Laviguer served prison sentences for robbing a Salem bank in 1992 and a Gresham bank in 2007.

Prosecutors say he was released from prison last July and started his robbery spree the following month.