A Texas mom spent the day at her daughter's middle school dressed up like a teenager.

The 30-year-old said it was to test the school's security.

She finally was caught pretending to be her teen daughter in the very last period of the day.

Within days, the police came to her home to arrest her on charges of criminal trespass and tampering with government records.

She was released on bond.

The school district superintendent put out a statement saying their security measures are being reviewed and evaluated.