Income tax expense (benefit) from continuing operations is summarized as follows (in thousands):
 
Year Ended August 31,
 
2016
 
2015
 
2014
Current:
 
 
 
 
 
Federal
$
2,205

 
$
(126
)
 
$
23,211

Foreign
11,838

 
21,200

 
9,059

State
912

 
(1,616
)
 
(657
)
 
14,955

 
19,458

 
31,613

Deferred:
 
 
 
 
 
Federal
(12,470
)
 
(4,416
)
 
4,224

Foreign
(23,797
)
 
(9,199
)
 
(4,130
)
State
(3,858
)
 
(324
)
 
866

 
(40,125
)
 
(13,939
)
 
960

Income tax expense (benefit)
$
(25,170
)
 
$
5,519

 
$
32,573