The bill, the Former Presidents Protection Act of 2012, reverses a previous law that limited Secret Service protection for former presidents and their families to 10 years if they served after 1997.

Under the law Obama signed on Thursday, he, former President George W. Bush and future former presidents will receive Secret Service protection for the rest of their lives. Children of former presidents up to the age of 16 are assured protection under the new law.

The Former Presidents Protection Act of 2012 passed the House and Senate in December 2012.