1 Timothy and Titus were written during the interval between his first and second imprisonments, while 2 Timothy was written during his second imprisonment shortly before his beheading.
Watch the Teaching: Why Did Paul Say the Godhead Dwells in a Body?