A federal judge in Brownsville sentenced an attorney from Weslaco to 30 months in federal prison and three years supervised release for bribing immigration detention officers in order to obtain documents on detained migrants.